Haskell Platform 2012.2.0.0ãå ¥ãããï¼
6æ3æ¥ããããã®èªçæ¥ãã¤çµå©å¼ã®ç¿æ¥ã«Haskell Platform 2012.2.0.0ããªãªã¼ã¹ãããããã§ãï¼ï¼
Haskellããã®çµå©ç¥ãï¼èªçæ¥ç¥ãã ã¨æããããããããããæ©è½è¿½å ãã
@shelarcy ãããGoogleGroupã®Haskell-jpã«ã¾ã¨ãã¦ããã¦ããã®ã§ããGoogle Groupsããããããããã¤ããç´¹ä»
ã¾ãalexã3ç³»ã«ãªã£ããããã§ãæ¥æ¬èªã®æ±ããç´ æ´ããã楽ã«ãªãã¾ããã
main = writeFile "ã»ã.txt" "ãããã"
ä»ã¾ã§System.IO.UTF8çãimportããªããã°ãªããªãã£ãã®ããæ¨æºã©ã¤ãã©ãªã§æ¥æ¬èªãæ±ããããã«ã
ãã¨ãghciã§data宣è¨ãã§ããããã«ãªãã¾ããã
Prelude> :{ Prelude| data Hoge = Foo | Piyo Prelude| deriving(Eq, Show) Prelude| :} Prelude> Foo == Foo True
ã¤ã³ã¹ãã¼ã«ã§ããããå¤ãghcãæ¨ã¦ããã¨è¨ãããã®ã§ãäºåã«
$ sudo /Library/Haskell/bin/uninstall-hs thru 7.0.4 --remove
ãã¦ããã¨ããã§ãã