moonscript/spec/inputs/stub.moon

17 lines
150 B
Plaintext
Raw Permalink Normal View History

x = {
val: 100
hello: =>
print @val
}
fn = x\val
print fn!
print x\val!
2011-10-09 22:58:39 +00:00
-- ... should be bubbled up anon functions
x = hello(...)\world