Re: System.IO but not with Data.String?
Andrew Lelechenko <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cafe |
|---|---|
| Message-ID | <[email protected]> |
See also a companion package https://hackage.haskell.org/package/file-io, which connects efficient and correct OsPath with ByteString-based readFile / writeFile. Best regards, Andrew > On 9 May 2024, at 21:22, Hilco Wijbenga <[email protected]> wrote: > > Perfect! Yes, that's exactly what I'm looking for. Amazing that I > completely missed that, it's not even that new. > > On Thu, May 9, 2024 at 1:01 PM Henning Thielemann > <[email protected]> wrote: >> >> >> On Thu, 9 May 2024, Hilco Wijbenga wrote: >> >>> We have Text and ByteString as alternatives to String but as soon as >>> you want to do anything IO related (read a file, get a directory's >>> content, et cetera) it seems your only option is to use String. >> >> Maybe you are looking for the new versions of 'filepath' and 'directory' >> packages that use the OsString type from 'os-string'? > _______________________________________________ > Haskell-Cafe mailing list > To (un)subscribe, modify options or view archives go to: > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe > Only members subscribed via the mailman list are allowed to post. _______________________________________________ Haskell-Cafe mailing list To (un)subscribe, modify options or view archives go to: http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe Only members subscribed via the mailman list are allowed to post.