Details
-
Type:
Defect
-
Status:
Closed
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Release 1.1
-
Component/s: None
-
Labels:None
-
Approval:Ok
Description
Reported by pedro.dhb, Feb 07, 2009
What (small set of) steps will reproduce the problem?
(every? #{\space} "dam") #=> nil
What is the expected output? What do you see instead?
The expected output is false according to the API docs for every?. Currently nil is returned.
What version are you using?
SVN revision 1252
Was this discussed on the group? If so, please provide a link to the discussion:
It was mentioned on the IRC but not in the groups.
Please provide any additional information below.
_END _INFO
Comment 1 by slash2314, Feb 24, 2009
If need needs to return false in this case, I propose the following patch.
Converted from http://www.assembla.com/spaces/clojure/tickets/71
Attachments:
every-false.patch - https://www.assembla.com/spaces/clojure/documents/bjODraw3Kr3O2PeJe5afGb/download/bjODraw3Kr3O2PeJe5afGb
0001-core-make-every-return-false-instead-of-nil.patch - https://www.assembla.com/spaces/clojure/documents/bZMX5WxNqr3P5SeJe5afGb/download/bZMX5WxNqr3P5SeJe5afGb