[Haskell-cafe] withFile variant which takes a ByteString?
magnus at therning.org
Mon Jul 7 23:50:57 UTC 2014
On Sat, Jul 05, 2014 at 05:52:30PM +0200, Bardur Arantsson wrote:
> Hi all,
> Is there a variant of withFile which takes a ByteString?
> (I'm aware that I could use the lower-level System.Posix FD-based
> functions, but if someone already has a package out there, I'd rather
You might want to have a look at the Filesystem module, in
system-fileio[^1]. It's not exactly what you ask for, but it seems to
be a rather good way of dealing with filesystem paths.
Magnus Therning OpenPGP: 0xAB4DFBA4
email: magnus at therning.org jabber: magnus at therning.org
twitter: magthe http://therning.org/magnus
Heuristic is an algorithm in a clown suit. It’s less predictable, it’s more
fun, and it comes without a 30-day, money-back guarantee.
-- Steve McConnell, Code Complete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 181 bytes
Desc: not available
More information about the Haskell-Cafe