examples icon indicating copy to clipboard operation
examples copied to clipboard

All kinds of Roc examples

Results 92 examples issues
Sort by recently updated
recently updated
newest added

For example `Task.await` should link to https://www.roc-lang.org/packages/basic-cli/0.6.0/Task#await

Inspiration https://www.roc-lang.org/tutorial#tasks We should include several examples of how the desugaring works.

example suggestion

Inspired by https://github.com/roc-lang/roc/issues/6017

good first issue

this will be unfamiliar to many non-functional programmers

example suggestion

[zulip discussion](https://roc.zulipchat.com/#narrow/stream/231634-beginners/topic/.E2.9C.94.20Auto-Derived.20Abilities/near/402920796) Write an example that shows how to use Abilities. Should show - An opaque type and how to auto derive the abilities - An opaque type and show...

good first issue
example suggestion

[roc-array2d](https://github.com/mulias/roc-array2d) Working with 2d arrays is a common pattern so it would be awesome to have a simple and a more involved example for that.

example suggestion

See "As an example of why tags are encouraged for data modeling" in [the tutorial](https://www.roc-lang.org/tutorial#booleans) to get the gist.

good first issue
example suggestion

Starting point: ``` NodeID : U64 Node : { value: Str, children : List NodeID} tree : Dict NodeID Node tree = Dict.empty {} |> Dict.insert 0 { value: "hey",...

good first issue
example suggestion