A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
|
|
@ -0,0 +1,4 @@
|
|||
func1 f = f "a string"
|
||||
func2 s = "func2 called with " ++ s
|
||||
|
||||
main = putStrLn $ func1 func2
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
func f = f 1 2
|
||||
|
||||
main = print $ func (\x y -> x+y)
|
||||
-- output: 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue