[Haskell-beginners] -fglasgow-exts in .cabal

Imants Cekusins imantc at gmail.com
Thu Jul 9 16:02:34 UTC 2015


Thank you Sumit.

This is how far I got:

if I put this right after hs-source-dirs:

default-extensions:  FlexibleInstances

, it works: ghc asks for MultiParamTypeClasses option.

However if I add FlexibleInstances, MultiParamTypeClasses
- either separated with comma or on the next line, the compiler parses
.cabal and tries to build however prompts for FlexibleInstances again.

How would I specify >1 option?


More information about the Beginners mailing list