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
de55f06a
Commit
de55f06a
authored
Nov 19, 2018
by
John van Groningen
Browse files
don't use OBJECT wihout argument, because OBJECT is a newtype constructor
parent
c6e134b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Examples/GenLib/fromStr.icl
View file @
de55f06a
...
...
@@ -57,7 +57,7 @@ where
->
(
False
,
pos
)
gFromString
{|
OBJECT
|}
fx
str
pos
#
(
mx
,
st
)
=
fx
str
pos
=
(
mapMaybe
OBJECT
mx
,
st
)
=
(
case
mx
of
Just
x
->
Just
(
OBJECT
x
);
Nothing
->
Nothing
,
st
)
gFromString
{|
RECORD
|}
fx
str
pos
=
abort
"gFromString for records is not implemented"
...
...
Write
Preview
Supports
Markdown
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