<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Ah no reason for being sorry, it’s super easy to miss existing stuff ;) I just was curious if it’s a “I didn't find this” or a “this is horrible!” Kind of new library :), cause I would have tried to fix #2!<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 20. Apr 2018, at 18:49, Pierre Fenoll <<a href="mailto:pierrefenoll@gmail.com" class="">pierrefenoll@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div dir="auto" class="">Oh well I didn’t know about this! Sorry about that I’ll take a look and discuss there. </div><div dir="auto" class="">I need to work on <a href="http://other.erldocs.com/" class="">other.erldocs.com</a> and add a real search engine...</div><br class=""><div class="gmail_quote"><div class="">On Fri 20 Apr 2018 at 17:19, Heinz N. Gies <<a href="mailto:heinz@licenser.net" class="">heinz@licenser.net</a>> wrote:<br class=""></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" class="">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" class="">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 class=""><br class=""></div><div class="">Cheers,</div><div class="">Heinz <br class=""><div class=""><br class=""><blockquote type="cite" class=""></blockquote></div></div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class="">On 20. Apr 2018, at 12:51, Pierre Fenoll <<a href="mailto:pierrefenoll@gmail.com" target="_blank" class="">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" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class=""><div class=""><div class=""><div class="m_1066041264777374914gmail_signature"><div class=""><div class="">Howdy people,</div><div class=""><br class=""></div><div class="">I just released a library called otp_vsn which defines helpful macros if you write code that spans multiple OTP releases.</div><div class=""><br class=""></div><div class=""><div class="">This saves you the copy/pasting/tweaking of erl_opts's platform_define.</div><div class="">Header-only, no dependencies. Supports releases from R16B01 to latest.</div></div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">This release is super fresh (published 15 minutes ago) and feedback is welcomed!</div><div class="">I'm looking for macros that are re-defined often such as</div><div class="">* the maps thing I mention above</div><div class="">* stdlib types getting renamed</div><div class="">* functions being moved/renamed</div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class=""><a href="https://hex.pm/packages/otp_vsn" target="_blank" class="">https://hex.pm/packages/otp_vsn</a><br class=""></div><div class=""><a href="https://github.com/fenollp/otp_vsn" target="_blank" class="">https://github.com/fenollp/otp_vsn</a><br class=""></div><div class=""><br class=""></div><div class="">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" class=""><div class=""><div class=""><blockquote type="cite" class=""><div class="">
_______________________________________________<br class="">erlang-questions mailing list<br class=""><a href="mailto:erlang-questions@erlang.org" target="_blank" class="">erlang-questions@erlang.org</a><br class=""><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank" class="">http://erlang.org/mailman/listinfo/erlang-questions</a><br class=""></div></blockquote></div></div></div></blockquote></div></div>-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div class=""><br class=""></div><div class="">Cheers,</div><div class="">-- </div><div class="">Pierre Fenoll</div></div><div class=""><br class=""></div></div></div>
</div></blockquote></div><br class=""></body></html>