Skip to content
pannous edited this page Apr 24, 2024 · 2 revisions

see constant and final

mutating modifying member functions are to be suffixed with an exclamation point (by the linter?)

class string{
	data chars
	void upper!{
		chars[0]=chars[0].upper()
	}

variables can be force mutated by adding an exclamation point


x="test"
x.upper!

# same as x = x.upper()

Home

Philosophy

data & code blocks

features

inventions

evaluation

keywords

iteration

tasks

examples

todo : bad ideas and open questions

⚠️ specification and progress are out of sync

Clone this wiki locally