Details
Assignee
Michał MarczykMichał MarczykReporter
Michał MarczykMichał MarczykLabels
Approval
TriagedPatch
CodePriority
Minor
Details
Details
Assignee
Michał Marczyk
Michał MarczykReporter
Michał Marczyk
Michał MarczykLabels
Approval
Triaged
Patch
Code
Priority
Created December 31, 2013 at 11:42 PM
Updated February 10, 2016 at 3:38 PM
Problem reported by Lee Spector on the mailing list:
https://groups.google.com/d/msg/clojure/8TL7IGmE7N0/u1xfgTOLDRgJ
Here's a quote from Lee's post describing the problem:
The underlying cause is that
seq-zip
passesidentity
as thechildren
argument tozipper
. Applied to()
, this returns()
, which is truthy, leadingzipper
to descend into a non-existent subtree.One natural solution would be to use
seq
in place ofidentity
:With this change, no
nil
is produced in the example above. Patch with this change forthcoming.