Commit 2228eeb2 authored by John van Groningen's avatar John van Groningen

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

to make it possible to define Just and Nothing as macros in StdMaybe
parent 5e32682c
......@@ -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)])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment