examples
examples copied to clipboard
All kinds of Roc examples
This came up on zulip yesterday. "how to create stand alone Dec number": ``` 2.1dec ``` I think we should do separate examples for every type. For code snippets we...
We already have this record builder example: https://github.com/roc-lang/basic-cli/blob/main/examples/record-builder.roc I suppose it's ok to duplicate it in this repo.
https://roc.zulipchat.com/#narrow/stream/231634-beginners/topic/Task.20return.20types/near/365002936
Many people will be unfamiliar with Roc error handling so I think we need a good example for it, some suggestions: - handling a single Result - handling a single...
Just going through the examples, thank you so much for the effort you are making here. I am reading through the Arithmetic example and I think there's the obvious edge...
In line with the goal "The code snippet of the example should concisely provide the code that the user is looking for.", readargs should not be demonstrated in the Arithmetic...
https://randomascii.wordpress.com/2012/02/25/comparing-floating-point-numbers-2012-edition/