mo' expression examples

This commit is contained in:
Jeremy Ashkenas 2010-01-03 19:08:41 -05:00
parent ecdb47107b
commit 32cd15f038
1 changed files with 7 additions and 5 deletions

View File

@ -4,11 +4,13 @@ result: while sunny?
go_outside()
print(3 + try
nonexistent.no_way
catch error
print(error)
3
nonexistent.no_way
catch error
print(error)
3
)
func: x =>
return throw x
return throw x
print(x * x for x in [1..100])