[Haskell-cafe] ANNOUNCE: system-filepath 0.4.5 and system-fileio 0.3.4
John Millikin
jmillikin at gmail.com
Mon Feb 6 04:19:26 CET 2012
On Sun, Feb 5, 2012 at 19:17, John Millikin <jmillikin at 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"
--------------------------------------------------------------------------
More information about the Haskell-Cafe
mailing list