mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
max already defined
This commit is contained in:
@@ -2,10 +2,6 @@ module example
|
||||
|
||||
import StdEnv
|
||||
|
||||
max :: Real Real -> Real
|
||||
max a b
|
||||
= if (a>=b) a b
|
||||
|
||||
maxArray :: [Real] [Real] -> [Real]
|
||||
maxArray list1 list2
|
||||
= [ (max e1 e2)
|
||||
|
||||
Reference in New Issue
Block a user