Commit 9caf2d3f authored by Marc André Wittorf's avatar Marc André Wittorf

Added minimum and maximum to myPrelude.

parent 4fdd08f8
...@@ -300,6 +300,12 @@ min = Prelude.min ...@@ -300,6 +300,12 @@ min = Prelude.min
max :: Prelude.Ord a => a -> a -> a max :: Prelude.Ord a => a -> a -> a
max = Prelude.max 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.Int -> [a] -> [a]
drop = Prelude.drop drop = Prelude.drop
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment