Skip to content

first and rest throw errors with the empty list #2

@yonatan

Description

@yonatan

Is there a reason for them to do that? It makes porting clojure code harder, sneaks up on you in destructuring lets etc.

I've had them return null for a while and haven't noticed any side effects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions