[Haskell-cafe] ByteString in patterns

Bryan O'Sullivan bos at serpentine.com
Tue Mar 10 18:39:43 EDT 2009


On Tue, Mar 10, 2009 at 3:28 PM, Manlio Perillo <manlio_perillo at libero.it>wrote:

> This seems impossible, since ByteString data constructor is not available.
>

You can use view patterns, per
http://www.serpentine.com/blog/2009/01/11/fun-with-haskell-view-patterns/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090310/5b9a39cc/attachment.htm


More information about the Haskell-Cafe mailing list