Enable doctest.
Specify language and ghc-options in cabal