[Haskell-cafe] ByteString in patterns
manlio_perillo at libero.it
Tue Mar 10 19:35:46 EDT 2009
Don Stewart ha scritto:
>> Using normal String type I can define a pattern like:
>>> let foo "baz" = 777
>>> foo "baz"
>> But if I want to use ByteString, what should I do?
>> This seems impossible, since ByteString data constructor is not available.
Is this supported by other Haskell implementations, or planned for Haskell'?
More information about the Haskell-Cafe