Skip to content
/ otpbp Public

Parse transformer for use new OTP functions in old Erlang/OTP releases

License

Notifications You must be signed in to change notification settings

Ledest/otpbp

Repository files navigation

OTP Backports (otpbp)

Build Status

Parse transformer that implements some new OTP functions in old Erlang/OTP releases.

Current version of Erlang/OTP: 27.2.

Supported versions of Erlang/OTP: 20.3, 21.x, 22.x, 23.x, 24.x, 25.x, 26.0, 26.1, 26.2, 27.0, 27.1, 27.2

Usage

Add otpbp to your rebar.config deps:

{deps, [otpbp]}.

or

{deps, [otpbp, "~> 7.6"]}.

Add {parse_transform, otpbp_pt} to rebar.config erl_opts

or

-compile({parse_transform, otpbp_pt}).

or

-include_lib("otpbp/include/otpbp_pt.hrl").

to separate modules.