jckarter/clay — Issue #57: Generalize 'and' and 'or' operators
Author: jckarter
Created: 2011-12-14 05:22:34+00:00
State: open
Labels: v0.1

It would be useful to be able to overload `and` and `or` for `Maybe`, `Either`, and other monadic types:

```
var x = maybeA() and maybeB() and maybeC(); // short-circuit maybe chaining (aka ">>=")
var y = maybeA() or maybeB(); // maybe alternation (aka "mplus")
var z = maybeA() or 0; // maybe unpack with default
```