Skip to content
rebind parse transform for erlang
Erlang Elixir
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit 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.
You can’t perform that action at this time.