|
Subject: character literal question Newsgroups: gmane.comp.lang.haskell.prime Date: 2006-12-01 21:52:18 GMT (2 years, 30 weeks, 6 days, 13 hours and 51 minutes ago) Hello, Is there a reason why we have to escape the character ' (apostrophe) when used in a character literal? For example, we have to write '\'' instead of '''. (With syntax highlighting, the second is a lot better looking than the first.) It seems that in this case we do not need the escape because a literal contains exactly one character. If there is no good reason for having the scape, I think that we should remove this restriction in Haskell'. -Iavor |
|
|