Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Example 1
- on "Hello World"
- after("Hello ")
- erase("l")
- print()
- # Example 2
- vertices = Vector<Float>()
- on vertices
- add(x)
- add(y)
- add(z)
- # Is the same as:
- vertices.add(x)
- vertices.add(y)
- vertices.add(z)
- # The expression after the 'on' keyword is guaranteed to be evaluated *once* only.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement