ocaml-nullable-array
ocaml-nullable-array copied to clipboard
Implement various standard functions for nullable arrays
This PR adds some functions that I found useful when porting https://github.com/backtracking/vector to use a nullable array internally.
I haven't yet added tests for these functions beyond just exercising them from within vector (and so some of them are very likely broken), but I'm happy to do so if you think these functions are a fit for the API. Just let me know :-)
Gentle ping @chambart, if you have any spare cycles for a review :slightly_smiling_face: