On Sun, Feb 5, 2012 at 19:17, John Millikin <jmilli...@gmail.com> wrote:
> --------------------------------------------------------------------------
> $ ~/ghc-7.0.4/bin/ghci
> Prelude> writeFile ".txt" "test"
> Prelude> readFile ".txt"
> "test"
> Prelude>

Sorry, that got a bit mangled in the email. Corrected version:

--------------------------------------------------------------------------
$ ~/ghc-7.0.4/bin/ghci
Prelude> writeFile "\xA3.txt" "test"
Prelude> readFile "\xA3.txt"
"test"
Prelude> writeFile "\xEE\xBE\xA3.txt" "test 2"
Prelude> readFile "\xEE\xBE\xA3.txt"
"test 2"
--------------------------------------------------------------------------

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

Reply via email to