Stream: beginners

Topic: Move platlang examples up one dir?


view this post on Zulip jan kili (Aug 27 2022 at 12:13):

I've finally noticed that the examples/platform-switching/*-platform/rocLoves*.roc example apps are referenced extensively for their usefulness in debugging whether a platform language is working on someone's system (see installation guides, Zulip threads, etc).

I originally put those apps inside their respective platforms for two reasons:

  1. To show that platforms can contain/provide their own apps
  2. To keep the platform-switching dir cleaner, with just the one main.roc app to toggle between platforms

However, given the frequency of their references, the length of their paths, and the relative emptiness of the platform-switching dir anyways, it seems like it might be better to move the rocLoves*.roc apps up one directory. What do you think?

view this post on Zulip Folkert de Vries (Aug 27 2022 at 12:15):

oh yes that would be nice

view this post on Zulip jan kili (Aug 27 2022 at 12:22):

https://github.com/roc-lang/roc/issues/3912


Last updated: Jul 26 2025 at 12:14 UTC