[Haskell-cafe] Re: bytestring 0.9.0.4

David Menendez dave at zednenem.com
Sat Jan 5 14:52:52 EST 2008


On Jan 5, 2008 12:37 AM, Don Stewart <dons at galois.com> wrote:

> The most notable change is the instance IsString for strict and
> lazy bytestrings, enabling bytestrings to be written as direct string
> literals, without needing 'pack'.
>
> That is, the following is valid:
>
>    import Data.ByteString.Char8
>
>    main = print ("abcdef" :: ByteString)
>

What encoding is used?

-- 
Dave Menendez <dave at zednenem.com>
<http://www.eyrie.org/~zednenem/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080105/129f22bc/attachment.htm


More information about the Haskell-Cafe mailing list