Cartesian product with nil args
http://groups.google.com/group/clojure-dev/browse_thread/thread/ac3582cd1698be1
user> (cartesian-product [1 2] [true false] )
((1 true) (1 false) (2 true) (2 false))
user> (cartesian-product [1 2] [false true])
nil
user> (cartesian-product [1 2] [nil 4])
nil
false/nil in first position seems to cause failure.
Leave a comment
on 2010-09-24 19:03 *
By stuartsierra
(In revision:499b9c02d1932ba0c0651e04b627c25f7f04f0c8) cartesian-product nil-arg fix; refs #96
Branch: master
Branch: master