Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -0,0 +1,8 @@
|
|||
final times2 = { it * 2 }
|
||||
final plus1 = { it + 1 }
|
||||
|
||||
final plus1_then_times2 = times2 << plus1
|
||||
final times2_then_plus1 = times2 >> plus1
|
||||
|
||||
assert plus1_then_times2(3) == 8
|
||||
assert times2_then_plus1(3) == 7
|
||||
Loading…
Add table
Add a link
Reference in a new issue