Hello Manlio,

Wednesday, March 11, 2009, 1:28:13 AM, you wrote:

> Using normal String type I can define a pattern like:

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

for numeric types, it works via Num instances. we have now IsString
type, may be it provides the same feature? i.e., are you tried? :)

-- 
Best regards,
 Bulat                            mailto:bulat.zigans...@gmail.com

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to