Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
clean-and-itasks
clean-libraries
Commits
d5992d29
Commit
d5992d29
authored
Jun 27, 2002
by
John van Groningen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed definitions in comment
parent
566d8751
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
StdEnv/StdClass.icl
StdEnv/StdClass.icl
+0
-25
No files found.
StdEnv/StdClass.icl
View file @
d5992d29
...
...
@@ -50,28 +50,3 @@ where
max
::!
a
!
a
->
a
|
Ord
a
max
x
y
:==
case
(
x
<
y
)
of
True
=
y
;
_
=
x
/*
inc :: !a -> a | + , one a
inc x :== x + one
dec :: !a -> a | - , one a
dec x :== x - one
(<>) infix 4 :: !a !a -> Bool | Eq a
(<>) x y :== not (x == y)
(>) infix 4 :: !a !a -> Bool | Ord a
(>) x y :== y < x
(<=) infix 4 :: !a !a -> Bool | Ord a
(<=) x y :== not (y<x)
(>=) infix 4 :: !a !a -> Bool | Ord a
(>=) x y :== not (x<y)
min::!a !a -> a | Ord a
min x y :== case (x<y) of True = x; _ = y
max::!a !a -> a | Ord a
max x y :== case (x<y) of True = y; _ = x
*/
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