clojure/clojure — pull request #25 by vizanto (2012-07-09 13:34:35+00:00)
Title: Give PersistentVector as fn the same behavior as PersistentMap

This trivial patch implements the 2-arity case for APersistentVector.

Use case:

```clojure
user=> ({1 2} 3 :notFound)
:notFound

user=> ([1 2] 3 :notFound)
ArityException Wrong number of args (2) passed to: PersistentVector clojure.lang.AFn.throwArity (AFn.java:437)
```