Skip to content

Used ::not-found by mistake (it seems) in focus-in #17

@genovese

Description

@genovese

In focus-in, it looks like you use ::not-found when you mean not-found. (If you mean to use the keyword, then having the not-found parameter would be ... confusing.) This doesn't appear to break any of the examples because you only pass ::not-found in within the library, but it seems worth fixing.

(defn ^:no-doc focus-in [path not-found x]
  (let [v (get-in x path not-found)]
    (if (= v ::not-found)
      (list)
      (list v))))

Thanks!

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