examples
examples copied to clipboard
All kinds of Roc examples
Example suggestion: create one example that list all header types and links to examples for each one
It should also explain when you should use a interface, app, package or platform header.
Example: ``` app [main] { pf: platform "https://github.com/roc-lang/basic-cli/releases/download/0.10.0/vNe6s9hWzoTZtFmNkvEICPErI9ptji_ySjicO6CkucY.tar.br" } import pf.Stdout # use `as` to define an import alias import pf.Task as T main = _ T.await Stdout.line! "Hello, World!"...
when running `$ ROC=roc bash ci_scripts/all_tests.sh` after using `nix develop` I get the following issue ``` + go build -C examples/GoPlatform/platform -buildmode=pie -o dynhost go: errors parsing go.mod: /Users/luke/Documents/GitHub/examples/examples/GoPlatform/platform/go.mod:3: invalid...
https://github.com/smores56/weaver?tab=readme-ov-file#example
[Inspiration](https://gist.github.com/lukewilliamboswell/016a2bc00cf69a012aa8386451ada0c9)
People are likely to encounter `` when trying to dbg print an opaque type. The solution will mostly be #106, but this deserves its own example if only for discoverability.