カバールは私に混合メッセージを与えています。私が言ったら:
Extensions: DeriveFunctor
それは言う:
Warning: Unknown extensions: DeriveFunctor
しかし、私が言うとき:
GHC-Options: -XDeriveFunctor
それは言う:
Warning: Instead of 'ghc-options: -XDeriveFunctor' use 'extensions:
DeriveFunctor'
今のところ、{-# LANGUAGE DeriveFunctor #-}
プラグマを使用します。
$ cabal --version
cabal-install version 0.8.2
using version 1.8.0.6 of the Cabal library
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.12.3
$ basename $(mdfind haskell-platform | grep .dmg)
haskell-platform-2010.2.0.0.i386.dmg