between?, whitespace? and result type null #5

Neronus opened this Issue Mar 27, 2012 · 2 comments


None yet

2 participants


whitespace? calls between? with result-type being nil

This leads to an error in between? because it tries to call (coerce nil nil), which (at least on SBCL) results in an error.
Note that NIL is not really a type. Did you mean NULL (the type of NIL)?


@Ramarren Ramarren closed this in d246c1d Mar 27, 2012

Thank for the report. I didn't notice that map handles nil specially, but coerce does not. Changed to mapping over nil, which look a bit strange but at least is always consistent regarding the expected result type.


Thank you for your quick reaction :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment