Skip to content
Snippets Groups Projects
Commit 2228eeb2 authored by John van Groningen's avatar John van Groningen
Browse files

change imports of ::Maybe(..) to ::Maybe(..),Just,Nothing

to make it possible to define Just and Nothing as macros in StdMaybe
parent 5e32682c
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ import StdString
from StdFunc import :: St
from StdOverloaded import class zero
from StdIOBasic import :: IdFun, :: Size(..), :: Point2(..)
from StdMaybe import :: Maybe(..)
from StdMaybe import :: Maybe(..),Just,Nothing
from StdPictureDef import :: Colour(..), ::RGBColour(..)
import StdGSt
......
......@@ -3,7 +3,7 @@ implementation module osevent
import StdBool, StdList, StdMisc, StdTuple
import clCrossCall_12, ostime, ostoolbox, ostypes
from commondef import hdtl, fatalError
from StdMaybe import :: Maybe(..)
from StdMaybe import :: Maybe(..),Just,Nothing
//import StdDebug, tracetypes // PA: for tracing purposes
......
definition module ParsersKernel
from StdEnv import class Eq, class toString, class ==
from StdMaybe import :: Maybe(..)
from StdMaybe import :: Maybe(..),Just,Nothing
// abstract type for use in getParsable and setParsable only
:: Parsable s
......
......@@ -7,7 +7,7 @@ implementation module ParsersKernel
// ****************************************************************************************
import StdEnv
from StdMaybe import :: Maybe(..)
from StdMaybe import :: Maybe(..),Just,Nothing
:: Parsable s :== ([Int],Int,[s],SymbolTypes)
:: ParseResult s r :== (Suggestions,[(Parsable s,r)])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment