3 ms·
Well, Erlang has been picking up :) - OTP27 added sigils[0], which allow you write UTF8 strings with just an additional tilde character ~"hallöchen" =:= <
by filmor 2y ago
Well, Erlang has been picking up :)
- OTP27 added sigils[0], which allow you write UTF8 strings with just an additional tilde character
~"hallöchen" =:= <<"hallöchen"/utf8>>
- Also, since OTP27, Erlang's own documentation[1] is written in Markdown and created using ex_doc[2]
- doc attributes etc. have been added in OTP27 as well, I think
- You can use ex_doc in your own Erlang projects using rebar3_ex_doc for a while now[3]
I also miss the pipe operator, but there seems to be some opposition against it in Erlang-land (and it would need to be adjusted as Erlang's standard library doesn't put the "main" argument consistently in the first argument slot like Elixir does).
[0]: https://www.erlang.org/blog/highlights-otp-27/#sigils https://www.erlang.org/blog/highlights-otp-27/#sigils
[1]: https://www.erlang.org/doc/readme.html https://www.erlang.org/doc/readme.html
[2]: https://hexdocs.pm/elixir/writing-documentation.html https://hexdocs.pm/elixir/writing-documentation.html
[3]: https://hexdocs.pm/rebar3_ex_doc/readme.html https://hexdocs.pm/rebar3_ex_doc/readme.html