2009/12/9 Maciej Piechotka <uzytkown...@gmail.com>: > On Tue, 2009-12-08 at 10:56 +0100, Deniz Dogan wrote: >> Has there been any serious suggestion or attempt to change the syntax >> of Haskell to allow hyphens in identifiers, much like in Lisp >> languages? E.g. hello-world would be a valid function name. >> > > You mean to parse a - b differently then a-b? You don't have the problem > in LISP as AFAIR you use (- a b) but in Haskell it would be a problem. >
I understand. How do GHC extensions work? Would a (hopefully tiny) GHC extension make it possible to use normal hyphens (i.e. those in ASCII) in identifiers? If so, is anyone interested in writing one? -- Deniz Dogan _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe