minor nit, `fromArray` -> `lookupFromArray` for congruency with the other function names.