Skip to content
rebind parse transform for erlang
Erlang Elixir
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src
.gitignore
README.md
mix.exs

README.md

rebind

rebind parse transform for erlang

Usage

-module(test).
-compile({parse_transform, rebind}).

-export([sum/0]).

sum() ->
  State = 1,
  rebind(State) = State + 1,
  rebind(State) = State + 1,
  rebind(State) = State + 1,
  rebind(State) = State + 1,
  State.
Something went wrong with that request. Please try again.