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

[design] syntax for "same-as chart" #108

Open
xieyuheng opened this issue Oct 6, 2022 · 2 comments
Open

[design] syntax for "same-as chart" #108

xieyuheng opened this issue Oct 6, 2022 · 2 comments

Comments

@xieyuheng
Copy link
Member

No description provided.

@xieyuheng
Copy link
Member Author

In "The Little Typer" there are "same-as chart",
we need to design syntax to write this formally.

@xieyuheng
Copy link
Member Author

Solution 1:

Like cicada-lang/cicada-solo:

compute same_as_chart (Nat) [
  add(two, three),
  add(three, two),
  five,
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant