[WIP] Create arrfunc from function pointer or functor