examples
examples copied to clipboard
All kinds of Roc examples
We probably also want to add a warning here that we don't yet recommend using roc for production systems that handle real money :smile:
I believe this is blocked on https://github.com/roc-lang/roc/issues/5660
see https://www.roc-lang.org/tutorial#debugging for inspiration
See conversation [here](https://roc.zulipchat.com/#narrow/stream/231634-beginners/topic/patter.20matching.20for.20.20record/near/350298883)
Deconstructing records with optional fields can be shown here as well: ``` clamp = \x, config -> { min ? x, max ? x } = config min + max...
``` { min, max } = config ```