On 3 December 2011 16:18, Erik de Castro Lopo <mle...@mega-nerd.com> wrote:
> Hi,
>
> I'm working on a literate haskell document (actually TeX, but the
> example below is just test) and I'm using ByteStrings in the code.
> I know I can do:
>
>    ghci -XOverloadedStrings file.lhs
>
> or, after ghci is running I can do:
>
>    Main> :set -XOverloadedStrings

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.

-- 
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to