Skip to content

first throws for an empty collection #69

@akond

Description

@akond

In clojure (first nil) and (first ()) returns nil. Knapsack throws, which is quite disconcerting. It would be great if this behavior was consistent with how clojure does this.

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