Re[2]: [Haskell-cafe] A syntax proposal: data replacements

2006-03-09 Thread Bulat Ziganshin
Hello Cale, Thursday, March 9, 2006, 9:20:44 AM, you wrote: CG There's also some provision for generics in GHC, but I'm not sure how CG well maintained it is. The docs say that it is currently broken in CG 5.02 -- I seem to remember trying it more recently and having it work CG on a few small

[Haskell-cafe] A syntax proposal: data replacements

2006-03-08 Thread ihope
I'd like to propose more syntactic sugar more Haskell. (A spoonful of syntactic sugar makes the medicine go down...) Put simply, this would provide a smallish bit of pattern matching, and hopefully clarify some things. A simple example should pretty much define the whole thing: fromJust = {Just

Re: [Haskell-cafe] A syntax proposal: data replacements

2006-03-08 Thread Cale Gibbard
On 08/03/06, ihope [EMAIL PROTECTED] wrote: I'd like to propose more syntactic sugar more Haskell. (A spoonful of syntactic sugar makes the medicine go down...) Put simply, this would provide a smallish bit of pattern matching, and hopefully clarify some things. A simple example should pretty