2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -1,6 +1,12 @@
|
|||
open console list imperative
|
||||
open monad io list imperative
|
||||
|
||||
xs = zipWith3 (\x y z -> show x ++ show y ++ show z) ['a','b','c']
|
||||
['A','B','C'] [1,2,3]
|
||||
['A','B','C'] [1,2,3]
|
||||
|
||||
each writen xs
|
||||
print x = do putStrLn x
|
||||
|
||||
print_and_calc xs = do
|
||||
xss <- return xs
|
||||
return $ each print xss
|
||||
|
||||
print_and_calc xs ::: IO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue