<< Back to previous view

[CONTRIB-96] Cartesian product with nil args Created: 24/Sep/10  Updated: 26/Nov/10  Resolved: 26/Nov/10

Status: Resolved
Project: Clojure-Contrib
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect
Reporter: Anonymous Assignee: Stuart Sierra
Resolution: Completed Votes: 0
Labels: None


 Description   

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.


 Comments   
Comment by Assembla Importer [ 24/Sep/10 3:01 PM ]

Converted from http://www.assembla.com/spaces/clojure/tickets/96

Comment by Assembla Importer [ 24/Sep/10 3:01 PM ]

stuart.sierra said: (In revision:499b9c02d1932ba0c0651e04b627c25f7f04f0c8) cartesian-product nil-arg fix; refs #96

Branch: master

Comment by Stuart Sierra [ 26/Nov/10 8:58 AM ]

Fixed in repository commit 499b9c02d1932ba0c0651e04b627c25f7f04f0c8

Generated at Fri Dec 19 07:05:45 CST 2014 using JIRA 4.4#649-r158309.