krarup is an Erlang dialect for composing concurrent data processing flows.
For more details see the primer. For examples, see examples/.
Currently based on Erlang 27.
% rebar.config
{plugins, [{krarup, {git, "https://github.com/mpope9/krarup/", {branch, "main"}}}]}.
This will search for .krp
files in the src/
directory.
% src/krarup_example.krp
-module(krarup_example).
async sum(List) ->
lists:sum(List).
main() ->
await linked sum([1, 2, 3]).
$ rebar3 compile