Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 647 Bytes

README.md

File metadata and controls

38 lines (26 loc) · 647 Bytes

krarup

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.

Install

% rebar.config

{plugins, [{krarup, {git, "https://github.com/mpope9/krarup/", {branch, "main"}}}]}.

This will search for .krp files in the src/ directory.

Example

% src/krarup_example.krp

-module(krarup_example).

async sum(List) ->
    lists:sum(List).

main() ->
    await linked sum([1, 2, 3]).

Build

$ rebar3 compile