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-compiler-and-rts
compiler
Commits
dc487a58
Commit
dc487a58
authored
Aug 24, 2001
by
Vincent Zweije
Browse files
Merge strictness bugfix of trace function (--->)
parent
71d84e95
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/general.icl
View file @
dc487a58
...
...
@@ -51,14 +51,14 @@ where
(--->)
val
message
|
file_to_true
(
stderr
<<<
message
<<<
'\n'
)
=
val
=
abort
"Internal error in --->"
=
halt
(-?->)
infix
::
.
a
!(!
Bool
,
!
b
)
->
.
a
|
<<<
b
(-?->)
val
(
cond
,
message
)
|
cond
|
file_to_true
(
stderr
<<<
message
<<<
'\n'
)
=
val
=
abort
"Internal error in --->"
=
halt
=
val
file_to_true
::
!
File
->
Bool
...
...
@@ -69,6 +69,11 @@ file_to_true file = code {
.end
}
halt
::
.
a
halt
=
code {
halt
}
instance
+
{#
Char
}
where
(+)
s
t
=
s
+++
t
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