d-functional-garden icon indicating copy to clipboard operation
d-functional-garden copied to clipboard

Functional garden for the D Language

d-functional-garden

Build Status

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).

Run it yourself

dub test && dub

Contribute

Contributions are more than welcome - just send a PR.

How to add a new D snippet?

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.