2014.07.06追記 RecordWildCardsとNamedFieldPunsが逆になっていたのを修正(thx fujimura)。 --ちゃんと確認せねば 2015.03.30 追記 ghc-7.10! はじめに ghc-7.10.1現在、ghc言語拡張は99個(!!)あります。 この中より辛い表記から解放してくれるものを紹介します。 ghci -package ghc GHCi, version 7.10.1: http://www.haskell.org/ghc/ :? for help Prelude> :m DynFlags Prelude DynFlags> length DynFlags.xFlags 99 Prelude DynFlags> mapM_ (putStrLn . flagSpecName) DynFlags.xFlags AllowAmbiguousT
![Haskellの表記を楽にする6つのghc拡張 - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/cfa7f2e4fe1a62c2d6482cb3ef3a1c3fdbd07ef7/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Fogp-background-1150d8b18a7c15795b701a55ae908f94.png%3Fixlib%3Drb-1.2.2%26w%3D1200%26mark%3Dhttps%253A%252F%252Fqiita-user-contents.imgix.net%252F~text%253Fixlib%253Drb-1.2.2%2526w%253D840%2526h%253D380%2526txt%253DHaskell%2525E3%252581%2525AE%2525E8%2525A1%2525A8%2525E8%2525A8%252598%2525E3%252582%252592%2525E6%2525A5%2525BD%2525E3%252581%2525AB%2525E3%252581%252599%2525E3%252582%25258B6%2525E3%252581%2525A4%2525E3%252581%2525AEghc%2525E6%25258B%2525A1%2525E5%2525BC%2525B5%2526txt-color%253D%252523333%2526txt-font%253DAvenir-Black%2526txt-size%253D54%2526txt-clip%253Dellipsis%2526txt-align%253Dcenter%25252Cmiddle%2526s%253D2efea3d7f4360523cd557ff7936ff64a%26mark-align%3Dcenter%252Cmiddle%26blend%3Dhttps%253A%252F%252Fqiita-user-contents.imgix.net%252F~text%253Fixlib%253Drb-1.2.2%2526w%253D840%2526h%253D500%2526txt%253D%252540philopon%2526txt-color%253D%252523333%2526txt-font%253DAvenir-Black%2526txt-size%253D45%2526txt-align%253Dright%25252Cbottom%2526s%253D9c959db220b6c4f62b0343eefbf9829c%26blend-align%3Dcenter%252Cmiddle%26blend-mode%3Dnormal%26s%3Ddbe84d8bd63a91dc2158723d307cc711)