项目作者: Ledest

项目描述 :
Parse transformer for use new OTP functions in old Erlang/OTP releases
高级语言: Erlang
项目地址: git://github.com/Ledest/otpbp.git
创建时间: 2015-09-13T16:29:44Z
项目社区:https://github.com/Ledest/otpbp

开源协议:GNU General Public License v3.0

下载


OTP Backports (otpbp)

Build Status

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

Current version of Erlang/OTP: 28.0.

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, 27.3, 28.0.

Usage

Add otpbp to your rebar.config deps:

  1. {deps, [otpbp]}.

or

  1. {deps, [otpbp, "~> 7.9"]}.

Add {parse_transform, otpbp_pt} to rebar.config erl_opts

or

  1. -compile({parse_transform, otpbp_pt}).

or

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

to separate modules.