Stream: ideas

Topic: Underscore -- changes for basic-cli & basic-webser


view this post on Zulip Luke Boswell (Dec 15 2024 at 21:23):

Just had an idea... should we double down on the experiment for using underscores between identifiers, and with the new purity inference upgrade update all the effects to use that.

Here's the docs for example https://roc-lang.github.io/basic-webserver/Env/. We could chang Env.exePath -> Env.exe_path!...

view this post on Zulip Luke Boswell (Dec 15 2024 at 21:24):

We haven't made a release for the new PI changes yet, but this is something I could include pretty easily before we do that.

view this post on Zulip Luke Boswell (Dec 15 2024 at 21:24):

Any existing code will need to be updated anyway from Task to => Result ... so it's already a breaking change upgrading the platform.

view this post on Zulip Richard Feldman (Dec 15 2024 at 21:32):

I like that idea! :thumbs_up:

view this post on Zulip Luke Boswell (Dec 15 2024 at 21:33):

kk, PR inbound... soonish

view this post on Zulip Luke Boswell (Dec 15 2024 at 22:29):

It ironic that I'm trying to upgrade basic-webserver... but spending all my time in basic-cli :sweat_smile:

view this post on Zulip Luke Boswell (Dec 15 2024 at 22:30):

Making things common across the two will make it much simpler to upgrade in future

view this post on Zulip Anthony Bullard (Dec 16 2024 at 00:04):

Sounds like the right move to me

view this post on Zulip Luke Boswell (Dec 16 2024 at 01:15):

I always forget how massive basic-cli is when I come up with these great ideas :sweat_smile:

view this post on Zulip Luke Boswell (Dec 16 2024 at 02:19):

Ok changes made in https://github.com/roc-lang/basic-cli/pull/288


Last updated: Jun 16 2026 at 16:19 UTC