let raiseWhenNotFound: 'a => 'a
fromInt len array int return the mapped enum
fromInt len array int
enum
let fromInt: (int, array<int>, int) => option<int>
let fromIntAssert: (int, array<int>, int) => int