useful icon indicating copy to clipboard operation
useful copied to clipboard

ignoring-nils

Open ocyzl opened this issue 7 years ago • 3 comments
trafficstars

((ignoring-nils +) nil nil) returns 0, but ((ignoring-nils +) nil nil nil) returns nil. Is this difference intentional? I figure they should both return 0.

ocyzl avatar Nov 30 '17 06:11 ocyzl

I've opened #39 to address this, but it is potentially a breaking change, so am weighing how to fix it.

danielcompton avatar Dec 06 '18 08:12 danielcompton

@danielcompton why would this be a breaking change?

michellymenezes avatar Oct 02 '20 12:10 michellymenezes

Because previously it would return nil in some cases and now it would return 0.

danielcompton avatar Oct 02 '20 12:10 danielcompton