Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
student-projects
mapro-2017-ss
Commits
9caf2d3f
Commit
9caf2d3f
authored
Oct 13, 2017
by
Marc André Wittorf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added minimum and maximum to myPrelude.
parent
4fdd08f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
res/TargetModules/MyPrelude.hs
res/TargetModules/MyPrelude.hs
+6
-0
No files found.
res/TargetModules/MyPrelude.hs
View file @
9caf2d3f
...
...
@@ -300,6 +300,12 @@ min = Prelude.min
max
::
Prelude
.
Ord
a
=>
a
->
a
->
a
max
=
Prelude
.
max
minimum
::
Prelude
.
Ord
a
=>
[
a
]
->
a
minimum
=
Prelude
.
minimum
maximum
::
Prelude
.
Ord
a
=>
[
a
]
->
a
maximum
=
Prelude
.
maximum
drop
::
Prelude
.
Int
->
[
a
]
->
[
a
]
drop
=
Prelude
.
drop
...
...
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