Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

between?, whitespace? and result type null #5

Closed
Neronus opened this Issue · 2 comments

2 participants

@Neronus

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)?

Christian

@Ramarren Ramarren closed this in d246c1d
@Ramarren
Owner

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.

@Neronus

Thank you for your quick reaction :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.