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)
-
alcotest
with-test
-
ppx_deriving
>= "4.5"
-
base
>= "v0.14.1"
-
dune
>= "2.8"
-
ocaml
>= "4.08.0"
Reverse Dependencies
-
None
Conflicts
-
None
A non empty list library for OCaml
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
Authors
Maintainers
Sources
non_empty_list-0.1.tbz
sha256=af4bf61dc1beb8b5428955bff3a209a3c231fe93eaa02a70cbb13907bb65a85b
sha512=be98fd76da87c1b40452b970c9b9826d5ba16a0629e46f67230b654c8d5b954b12082ecfec68594abf6440fb531599972dc579537c0149801de86cd84f4c99f8