Add `last :: forall f a. NonEmpty f a -> a` ?

Open
#53 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale

Research direction

The issue proposes adding last :: forall f a. NonEmpty f a -> a and notes O(N), but names no source file or test. First inspect the repository's NonEmpty definitions and existing traversal or lookup tests; done means the proposed function is added with its linear-time behavior covered by tests.

Written by the indexing model from the issue text.

Description

O(N)

Dominant language
PureScript
Stars
17
Forks
25
Avg merge
3d 10m
Merged PRs (30d)
1

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from purescript/purescript-nonempty

All issues in purescript/purescript-nonempty

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.