Skip to content

optimisation: standard library seq functions should coerce inputs before using them #1234

Closed
@ikappaki

Description

@ikappaki

Extracted into its own issue from #1198 (comment) by @chrisrink10 :

The first issue is that seq library functions don't coerce their inputs into seqs before operating on them. Clojure does this in most of it's seq library:

(when-let [s (seq coll)]
  ;; ...
  )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions