[Haskell-cafe] Weird interaction between literate haskell, ghci and OverloadedStrings

Erik de Castro Lopo mle+hs at mega-nerd.com
Sat Dec 3 08:03:58 CET 2011


Ivan Lazar Miljenovic wrote:

> Add ":set -XOverloadedStrings" to a (possibly local) .ghci file?  It
> doesn't contain it within the same document, but then if it's a local
> one you could also add ":load file.lhs" in there so that you just have
> to type ghci.

Unfortunately, thats no better than telling people do:

    ghci -XOverloadedStrings file.lhs

Probably worse actually.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Haskell-Cafe mailing list