janestreet / janestreet/base

Support for non-empty lists

Open
#141 5 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.