effekt-lang / effekt-lang/effekt
Renaming of keywords and types
- Dominant language
- Scala
- Stars
- 469
- Forks
- 41
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 23
Description
I would like to see the following syntactic changes. They have to be discussed and rejected or approved.
- rename type `Boolean` to `Bit`
- rename keyword `type` to `datatype`
- keep keyword `type` for type aliases
- change syntax `var x = 1; ...` to `var x := 1; ...`
- change syntax `x = 1; ...` to `x := 1; ...`
- remove `return` statement
- remove `with` statement
- sequence constructors not with semicolons `type B { True(); False() }` but `type B { case True() case False() }`
- create instances without keyword `new` like `def x = State { def get() = 1 def set(y: Int) = () }`
- put the condition in `while` in curly braces `while { cond } { body }`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.