Proposal: Applicative => Monad: Call for consensus

wren ng thornton wren at freegeek.org
Tue Jan 18 00:08:09 CET 2011


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 :)
 >
 > [1] http://hasp.cs.pdx.edu/habit-report-Aug2009.pdf


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



More information about the Libraries mailing list