Open gavr123456789 opened 2 weeks ago
But maybe different type of brakets?
Person {
kek = []
}
no, kinda stange that all other bodies are in []
Remove single declarations?
Person kek = [] // NOT POSSIBLE
// only
extend Person [
on kek = []
]
nah, then its always one additional layer of indentation
Replace on
keyword with |
kinda consistent with everything else
extend Person [
| kek = [...]
| birthday = [
age <- age inc
]
| newName: name::String = [
name <- name
]
]
Maybe then remove extend?
| Person
| kek = [...]
| birthday = [
age <- age inc
]
| newName: name::String = [
name <- name
]
kinda cool
current: