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

In most situations like this, a tag union would probably be a good solution. [context](https://roc.zulipchat.com/#narrow/channel/231634-beginners/topic/Why.20no.20syntax.20for.20extending.20records/near/506548582)

example suggestion

``` + ./roc_nightly/roc build --lib ./examples/GoPlatform/main.roc --output examples/GoPlatform/platform/libapp.so 0 errors and 0 warnings found in 110 ms while successfully building: examples/GoPlatform/platform/libapp.so + go build -C examples/GoPlatform/platform -buildmode=pie -o dynhost +...

medium priority

See [zulip discussion](https://roc.zulipchat.com/#narrow/channel/231634-beginners/topic/.E2.9C.94.20case-insensitive.20string.20comparison/near/490063043) for context We should add a new example which shows people how to make conversions to/from Upper and Lower case using only the builtins. We should briefly...

good first issue
example suggestion

This example should show off a typical advent of code solution and best practices/tips like [this one](https://roc.zulipchat.com/#narrow/channel/231634-beginners/topic/why.20are.20strings.20not.20just.20a.20distinct.20List.20U8/near/480124566).

example suggestion

```roc app [main!] { pf: platform "./platform/main.roc" } import pf.Stdout main! = || { record = { first: "Hello" } Stdout.line!(record.blabla) } ``` ``` ❯ ./zig-out/bin/roc check ./test/fx/temp.roc No errors...