5 ms·
I don’t even know Elixir at this point, but I have to say I _love_ the example list in the README! So nice!
by aeontech 5y ago
I don’t even know Elixir at this point, but I have to say I _love_ the example list in the README! So nice!
- sph 5y agoThe documentation is generated with ex_doc, a core package. Examples in the documentation are automatically tested by the testing library ex_unit, so you get examples for your users which are automatically tested for correctness. It's a pretty awesome feature indeed. Though to be fair the examples in this library aren't using the correct syntax to be tested.
- linkdd 5y agoI should take a look more closely at the doctest feature indeed :)
- linkdd 5y agoThank you, I try my best to come up with good documentation so I don't need to go read the source code :) Also that's what I love about Erlang/Elixir, you don't need to know the language to be able to read code written in it.