Am Donnerstag, den 12.07.2012, 13:38 -0400 schrieb Cale Gibbard: > Personally I don't see why everyone appears to prefer the syntax with > \ in it over just the obvious case section syntax which was originally > proposed. > > case of { ... } > > looks much better to me than > > \case of { ... } > > and the former makes sense to me as a simple extension of operator > sections to another part of the syntax. > > Does anyone else agree?
I’m strongly opposed to the case of { ... } syntax, because there seems to be no natural arrow expression analog of it. A notation that starts with \ (like “\case”) can be carried over to arrow expressions by replacing the \ with proc (like in “proc case”). Best wishes, Wolfgang _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users