Don Stewart ha scritto:
manlio_perillo:
Hi.

Using normal String type I can define a pattern like:

let foo "baz" = 777
foo "baz"
777


But if I want to use ByteString, what should I do?
This seems impossible, since ByteString data constructor is not available.

-XOverloadedStrings


Perfect, thanks.

Is this supported by other Haskell implementations, or planned for Haskell'?


Manlio
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to