ztellman/vertigo — pull request #4 by wrobstory (2014-11-25 05:52:47+00:00)
Title: PR core exprs

What a cool library! I have some code written using hiphip + primitive arrays, but this is a better use case for me- I basically want take up as little in-memory space as possible, and I'm happy with the benchmarks so far.

This implements a few new core operators, but I had some issues with the `break` statement. Is it meant to actually be quoted? Because when quoted, it at least works for `every`. I'm getting strange behavior otherwise:

```clojure
user=> (def ^:s/int64 mean-two (c/marshal-seq s/int64 [0 1 2 3 4]))
#'user/mean-two
user=> (def ^:s/int64 ones (c/marshal-seq s/int64 [1 1 1 1 1]))
#'user/ones
user=> (c/every? [x mean-two] (pos? x))
true
user=> (c/every? [x ones] (= x 1))
true
user=> (c/every? [x ones] (neg? x))
nil
user=> (c/any? [x ones] (= x 1))
nil
user=> (c/any? [x mean-two] (pos? x))
nil
```

Sorry about the auto whitespace cleanup - I can probably revert it if you want.