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
ab4bee7b
Commit
ab4bee7b
authored
Oct 26, 2006
by
John van Groningen
Browse files
add specialized versions for Int, Char and Real of < and ==
parent
cc49ae14
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/StdEnv/StdList.dcl
View file @
ab4bee7b
definition
module
StdList
// ****************************************************************************************
// Concurrent Clean Standard Library Module Version 2.
01
// Copyright 1998 University of Nijmegen
// Concurrent Clean Standard Library Module Version 2.
2
// Copyright 1998
-2006
University of Nijmegen
// ****************************************************************************************
import
StdClass
...
...
@@ -11,8 +11,14 @@ import StdInt,StdChar,StdReal
// Instances of overloaded functions:
instance
==
[
a
]
|
==
a
special
a
=
Int
a
=
Char
a
=
Real
instance
<
[
a
]
|
Ord
a
special
a
=
Int
a
=
Char
a
=
Real
instance
length
[]
instance
%
[
a
]
...
...
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