Functional garden for the D Language
The Functional DLang Garden provides a variety of snippets that can be used to learn D or as a quick reference.
All samples are valid code and automatically tested on every run (dmd, ldc).
dub test && dub
Contributions are more than welcome - just send a PR.
Go to functional.d and add your snippet as new unittest.
You can run the tests with dub test
or rdmd -unittest --main functional.d
.