Re: String literals

2006-11-11 Thread Bulat Ziganshin
Hello Lennart, Saturday, November 11, 2006, 6:49:15 AM, you wrote: class IsString s where fromString :: String - s My guess is that the defaulting mechanism needs to be extended to default to the String type as well, imho, it is MUST BE. this will allow to became ByteString and any

Re[2]: String literals

2006-11-11 Thread Bulat Ziganshin
Hello Donald, Saturday, November 11, 2006, 7:33:48 AM, you wrote: Yes, pattern matching is the issue that occurs to me too. While string literals :: ByteString would be nice (and other magic encoded in string literals, I guess), what is the story for pattern matching on strings based on

lambda-match example - from parser combinators to grammar combinators

2006-11-11 Thread Claus Reinke
Some of you have asked me whether I could provide more convincing examples for lambda-match, or whether the shortcomings of Haskell addressed in this proposal will be of practical relevance to the typical seasoned Haskeller without specific interests in language design. There are of course the