pinchpi_func (pinchpi v0.1.0)
Summary
Functions
-spec call(term(), [pinchpi_struct:struct_map()], pinchpi_context:ctx()) -> {term(), pinchpi_context:ctx()}.
-spec eval_args([pinchpi_struct:struct_map()], pinchpi_context:ctx()) -> {[{binary() | undefined, term()}], pinchpi_context:ctx()}.
-spec invoke_body([pinchpi_struct:struct_map()], #{binary() => term()}, pinchpi_struct:struct_map(), [{binary() | undefined, term()}], pinchpi_context:ctx()) -> {term(), pinchpi_context:ctx()}.
-spec invoke_callable(term(), [{binary() | undefined, term()}], pinchpi_context:ctx()) -> {term(), pinchpi_context:ctx()}.
-spec make_arrow(pinchpi_struct:struct_map(), pinchpi_context:ctx()) -> pinchpi_struct:struct_map().
-spec make_closure(pinchpi_struct:struct_map(), pinchpi_context:ctx()) -> {pinchpi_struct:struct_map(), pinchpi_context:ctx()}.
-spec with_internal_call(fun(() -> T)) -> T.