Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Comment: Re:Not to sound like an ass, but... (Score 1) 173

by Ann Coulter (#30219754) Attached to: Haskell 2010 Announced

Moreover, the DoAndIfThenElse extension merely extends the "do" syntax with if/then/else clauses; it is syntactic sugar. Empty data declarations are essentially union types unioned over no labels and therefore can have no values except for the bottom value.

References:
http://hackage.haskell.org/trac/haskell-prime/wiki/DoAndIfThenElse
http://hackage.haskell.org/trac/haskell-prime/wiki/EmptyDataDecls

A mathematician is a device for turning coffee into theorems. -- P. Erdos

Working...