[erlang-questions] [ANN] otp_vsn 1.0.0 - ?OTP_VSN

Pierre Fenoll pierrefenoll@REDACTED
Fri Apr 20 12:51:21 CEST 2018

Howdy people,

I just released a library called otp_vsn which defines helpful macros if
you write code that spans multiple OTP releases.

This saves you the copy/pasting/tweaking of erl_opts's platform_define.
Header-only, no dependencies. Supports releases from R16B01 to latest.

For example if you want to use the #{maps => syntax} but still be able to
compile your code on releases earlier than 17.5 you can use

This release is super fresh (published 15 minutes ago) and feedback is
I'm looking for macros that are re-defined often such as
* the maps thing I mention above
* stdlib types getting renamed
* functions being moved/renamed

I think this library could be the place to put them in & help the community
write code that still compiles on newer releases of Erlang :)


Thanks & have a nice day
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180420/3701b34f/attachment.htm>

More information about the erlang-questions mailing list