Skip to content

Nullable-array is a small self-contained library providing an efficient implementation for a type equivalent to `'a option array`

License

Notifications You must be signed in to change notification settings

chambart/ocaml-nullable-array

Repository files navigation

Nullable-array

Nullable-array is a small self-contained library providing an efficient implementation for a type equivalent to 'a option array

let a = Nullable_array.make 3 in
Nullable_array.set 1 (Some 4);
assert(Nullable_array.get 0 = None);
assert(Nullable_array.get 1 = Some 4);

Build Status (Travis) Build Status (Appveyor)

About

Nullable-array is a small self-contained library providing an efficient implementation for a type equivalent to `'a option array`

Resources

License

Stars

Watchers

Forks

Packages

No packages published