moonscript/tests/inputs/with.moon

23 lines
254 B
Plaintext
Raw Normal View History

2011-06-22 02:38:07 +00:00
a = ->
with something
print .hello
print hi
print "world"
with leaf
.world!
.world 1,2,3
g = .what.is.this
.hi 1,2,3
:hi(1,2).world 2323
:hi "yeah", "man"
.world = 200
zyzyzy = with something
.set_state "hello world"