
17 Jan
2011
17 Jan
'11
11:08 p.m.
On 1/17/11 5:47 PM, wren ng thornton wrote:
Habit[1] supports both of these shorthands ---both the semantics, and the syntax even--- and I'd love to have them in Haskell proper (whether GHC Haskell or SHE Haskell :)
On 1/17/11 5:48 PM, Iavor Diatchki wrote:
Habit (from PSU) uses this syntax. (ref. p. 22 http://hasp.cs.pdx.edu/habit-report-Aug2009.pdf) They also allow one-armed monadic if-then-else, like in C, where the omitted "else" branch is filled in with "return ()".
Jinx! -- Live well, ~wren