
3 Dec
2011
3 Dec
'11
12:55 a.m.
On 3 December 2011 16:18, Erik de Castro Lopo
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.Miljenovic@gmail.com IvanMiljenovic.wordpress.com