Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 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