2016-06-01から1ヶ月間の記事一覧

Haskell千本ノック

Prelude> :set prompt "ghci> "ghci> ghci> print "hello, world" -- > "hello, world" ghci> Ctrl-DLeaving GHCi. Prelude> :quitLeaving GHCi. -- hello01.hsmain = putStrLn "hello, world $ runghc hello01.hshello, world -- import01.hsimport System.…