Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax: let = #71

Open
ahdinosaur opened this issue Oct 3, 2023 · 0 comments
Open

Syntax: let = #71

ahdinosaur opened this issue Oct 3, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ahdinosaur
Copy link
Owner

Is your feature request related to a problem? Please describe.

At the moment there's an overlap in how we use key:.

  1. Object keys
  2. Let assignments

Even though the two usages have different semantics (and different highlighting).

Describe the solution you'd like

Maybe instead of

message:
  let
    name: "Charlie"
  in
    "hello " + mood

We should do:

message:
  let
    name = "Charlie"
  in
    "hello " + mood

How might this be added to Rimu?

What are possible alternatives?

Or we keep the status quo.

Additional context

@ahdinosaur ahdinosaur added the enhancement New feature or request label Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant