September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
2
Task/Function-prototype/Haskell/function-prototype-1.hs
Normal file
2
Task/Function-prototype/Haskell/function-prototype-1.hs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
add :: Int -> Int -> Int
|
||||
add x y = x+y
|
||||
1
Task/Function-prototype/Haskell/function-prototype-2.hs
Normal file
1
Task/Function-prototype/Haskell/function-prototype-2.hs
Normal file
|
|
@ -0,0 +1 @@
|
|||
add :: Int->(Int ->(Int->Int))
|
||||
1
Task/Function-prototype/Haskell/function-prototype-3.hs
Normal file
1
Task/Function-prototype/Haskell/function-prototype-3.hs
Normal file
|
|
@ -0,0 +1 @@
|
|||
printThis = putStrLn("This is being printed.")
|
||||
2
Task/Function-prototype/Haskell/function-prototype-4.hs
Normal file
2
Task/Function-prototype/Haskell/function-prototype-4.hs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
add :: Int -> Int -> Int
|
||||
add x y = x+y
|
||||
2
Task/Function-prototype/Haskell/function-prototype-5.hs
Normal file
2
Task/Function-prototype/Haskell/function-prototype-5.hs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
add :: Int -> Int -> Int
|
||||
add = \x->\y -> x+y
|
||||
2
Task/Function-prototype/Haskell/function-prototype-6.hs
Normal file
2
Task/Function-prototype/Haskell/function-prototype-6.hs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
doThis :: Int-> Int-> String
|
||||
doThis _ _ = "Function with unnamed parameters"
|
||||
Loading…
Add table
Add a link
Reference in a new issue