pub fn builtin_flatmap(
    func: NativeFn<((Either2<String, Val>,), Val)>,
    arr: IndexableVal
) -> Result<IndexableVal>