3 ms·
I don't think it is an official part of the language but the Pragmatic Programmers Elixir book does this in one of their examples code sections.
by thescribe 9y ago
I don't think it is an official part of the language but the Pragmatic Programmers Elixir book does this in one of their examples code sections.
- bglusman 9y agoIt is an official part of the language, and is automatically part of the compiled docs, which are also an official part of the language! https://elixir-lang.org/getting-started/mix-otp/docs-tests-and-with.html#doctests https://elixir-lang.org/getting-started/mix-otp/docs-tests-a...