摘要: Haskell has type inferencefunction declarationmethodname :: [input type] -> [return type]ormethodname :: [input type] -> [input type] -> [input type] ... 阅读全文
posted @ 2014-09-24 14:48 映天蓝 阅读(99) 评论(0) 推荐(0)
摘要: Installationunder CentOS/Fedora# yum install ghcVersion[root@bogon1 haskell]# ghc -vGlasgow Haskell Compiler, Version 7.0.4, for Haskell 98, stage 2 b... 阅读全文
posted @ 2014-09-24 00:07 映天蓝 阅读(121) 评论(0) 推荐(0)
摘要: CompilerGlasgow Haskell Compiler (GHC)http://hackage.haskell.org/platform/Command# load scriptsghci> :l hello.hs# run scripts 阅读全文
posted @ 2014-09-24 00:05 映天蓝 阅读(122) 评论(0) 推荐(0)