<div dir="ltr">I used to take a look at cabal files from projects that I've used and found to work. For example, IHaskell uses a lot of extensions [1].<div><br></div><div>[1]: <a href="https://github.com/gibiansky/IHaskell/blob/master/ihaskell.cabal#L122-L126">https://github.com/gibiansky/IHaskell/blob/master/ihaskell.cabal#L122-L126</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 9 July 2015 at 21:32, Imants Cekusins <span dir="ltr"><<a href="mailto:imantc@gmail.com" target="_blank">imantc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you Sumit.<br>
<br>
This is how far I got:<br>
<br>
if I put this right after hs-source-dirs:<br>
<br>
default-extensions:  FlexibleInstances<br>
<br>
, it works: ghc asks for MultiParamTypeClasses option.<br>
<br>
However if I add FlexibleInstances, MultiParamTypeClasses<br>
- either separated with comma or on the next line, the compiler parses<br>
.cabal and tries to build however prompts for FlexibleInstances again.<br>
<br>
How would I specify >1 option?<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>Regards</div><div dir="ltr"><div><br></div><div>Sumit Sahrawat</div></div></div></div></div></div></div>
</div>