Really slick. Definitely seems like Elixir and Elm are two new languages going the extra mile to solve a lot of problems with functional programming while also making developers happy and sane.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Elixir does this, you can check it out at hexdocs.pm/elixir/writing-document...
If you add
in your function doc, and add the DocTest to your test suite, then this examples will run as tests. And yes, this comes built in in the language.
I have to say, it's really awesome checking out the docs for any given library and being confident that the code examples will just work.
Really slick. Definitely seems like Elixir and Elm are two new languages going the extra mile to solve a lot of problems with functional programming while also making developers happy and sane.