Description

A list that is known, statically, to be nonempty. The hd and tl functions don't require option types, or exceptions, improving safety.

This library follows closely Janestreet's Base library, providing similar complexity and functions to Base.List.

Published: 10 Jul 2021

Dependencies (5)

  1. alcotest with-test
  2. ppx_deriving >= "4.5"
  3. base >= "v0.14.1"
  4. dune >= "2.8"
  5. ocaml >= "4.08.0"

Reverse Dependencies

    None

Conflicts

    None
A non empty list library for OCaml

Install

Authors

Maintainers

Sources

non_empty_list-0.1.tbz
sha256=af4bf61dc1beb8b5428955bff3a209a3c231fe93eaa02a70cbb13907bb65a85b
sha512=be98fd76da87c1b40452b970c9b9826d5ba16a0629e46f67230b654c8d5b954b12082ecfec68594abf6440fb531599972dc579537c0149801de86cd84f4c99f8