[Haskell-cafe] ANN: monad-bool 0.1
Roman Cheplyaka
roma at ro-che.info
Wed Jan 23 01:58:44 CET 2013
* John Wiegley <johnw at fpcomplete.com> [2013-01-22 18:04:36-0600]
> monad-bool implements a pair of Boolean monoids and monads, to support
> short-circuiting, value-returning computations similar to what Python and Ruby
> offer with their native && and || operators.
Random thoughts after compiling/looking at the code:
- your constraint on 'base' is too restrictive — I had to relax it in
order to compile the package (my 'base' is 4.6.0.1, which came with
GHC 7.6.2 RC)
- personally I never missed "0 as False"...
- what do you need unsafeCoerce for?
Roman
More information about the Haskell-Cafe
mailing list