Add the `gate` and `gateBy` functions (#19)
Add the `gate` and `gateBy` functions (#19)

Now, a `Behavior` can be sampled on an `Event` according to a
predicate. This is pretty exciting; it's basically a dynamic
`filter`.
paf31/purescript-behaviors