Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
clean-libraries
Commits
2228eeb2
Commit
2228eeb2
authored
Jul 20, 2020
by
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
Changes
4
Hide whitespace changes
Inline
Side-by-side
Libraries/ObjectIO/GameLib/StdGameDef.dcl
View file @
2228eeb2
...
...
@@ -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
...
...
Libraries/ObjectIO/ObjectIO/OS Windows/osevent.icl
View file @
2228eeb2
...
...
@@ -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
...
...
Libraries/Parsers/ParsersKernel.dcl
View file @
2228eeb2
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
...
...
Libraries/Parsers/ParsersKernel.icl
View file @
2228eeb2
...
...
@@ -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
)])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment