Support for non-empty lists
Open
forwarded-to-js-devs
- Dominant language
- OCaml
- Stars
- 1.1k
- Forks
- 177
- PR merge metrics
- No merged PRs in 30d
Description
It would be great if Base provided a `List.Non_empty` module for non-empty lists
```ocaml
type 'a t = (::) of 'a * 'a list
```
Contributor guide
Research direction
The issue names Base.List.Non_empty and proposes the OCaml type, but it mentions no source file, test, or entry point. Start by inspecting the existing Base.List organization and related abstractions, then clarify the intended API and behavior with maintainers; done means the agreed non-empty-list module is implemented and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100