<div><div dir="auto">Oh well I didn’t know about this! Sorry about that I’ll take a look and discuss there. </div><div dir="auto">I need to work on <a href="http://other.erldocs.com">other.erldocs.com</a> and add a real search engine...</div><br><div class="gmail_quote"><div>On Fri 20 Apr 2018 at 17:19, Heinz N. Gies <<a href="mailto:heinz@licenser.net">heinz@licenser.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hey I’ve been maintaining a rebar plugin for this for quite a while <a href="https://github.com/project-fifo/rebar_erl_vsn" target="_blank">https://github.com/project-fifo/rebar_erl_vsn</a> I’m curious as to why a new library instead of contributing? Did it cause you problems or not solve a problem you encountered?<div><br></div><div>Cheers,</div><div>Heinz <br><div><br><blockquote type="cite"></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><blockquote type="cite"><div>On 20. Apr 2018, at 12:51, Pierre Fenoll <<a href="mailto:pierrefenoll@gmail.com" target="_blank">pierrefenoll@gmail.com</a>> wrote:</div><br class="m_1066041264777374914Apple-interchange-newline"></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><blockquote type="cite"><div><div><div><div class="m_1066041264777374914gmail_signature"><div><div>Howdy people,</div><div><br></div><div>I just released a library called otp_vsn which defines helpful macros if you write code that spans multiple OTP releases.</div><div><br></div><div><div>This saves you the copy/pasting/tweaking of erl_opts's platform_define.</div><div>Header-only, no dependencies. Supports releases from R16B01 to latest.</div></div><div><br></div><div>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 ifdef(OTP_VSN_17_AND_ABOVE).</div><div><br></div><div>This release is super fresh (published 15 minutes ago) and feedback is welcomed!</div><div>I'm looking for macros that are re-defined often such as</div><div>* the maps thing I mention above</div><div>* stdlib types getting renamed</div><div>* functions being moved/renamed</div><div><br></div><div>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 :)</div><div><br></div><div><a href="https://hex.pm/packages/otp_vsn" target="_blank">https://hex.pm/packages/otp_vsn</a><br></div><div><a href="https://github.com/fenollp/otp_vsn" target="_blank">https://github.com/fenollp/otp_vsn</a><br></div><div><br></div><div>Thanks & have a nice day</div></div></div></div>
</div></div></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space"><div><div><blockquote type="cite"><div>
_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br></div></blockquote></div></div></div></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><br></div><div>Cheers,</div><div>-- </div><div>Pierre Fenoll</div></div><div><br></div></div></div>