Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 623 Bytes

File metadata and controls

13 lines (10 loc) · 623 Bytes

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)