Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nth #201

Merged
merged 1 commit into from
Jan 4, 2019
Merged

nth #201

merged 1 commit into from
Jan 4, 2019

Conversation

bonega
Copy link
Contributor

@bonega bonega commented Jan 3, 2019

No description provided.

@borkdude
Copy link
Owner

borkdude commented Jan 3, 2019

@bonega

Feedback:

  • the first alternative should be indexed? (add a keyworded version in speculative.specs), since anything that implements Indexed (IIndexed on CLJS) can be handled by nth:
(def my-nth-thingy
  (reify clojure.lang.Indexed
    (nth [this i] 1)
    (nth [this i not-found] not-found)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants