node conversion finished, narwhal removed.

This commit is contained in:
Jeremy Ashkenas
2010-01-29 23:30:54 -05:00
parent e08e99a403
commit f5a37035cf
48 changed files with 208 additions and 357 deletions

View File

@@ -4,12 +4,12 @@ area: (x, y, x1, y1) ->
x: y: 10
x1: y1: 20
print area(x, y, x1, y1) is 100
puts area(x, y, x1, y1) is 100
print(area(x, y,
puts(area(x, y,
x1, y1) is 100)
print(area(
puts(area(
x
y
x1
@@ -19,7 +19,7 @@ print(area(
# Arguments are turned into arrays.
curried: ->
print area.apply(this, arguments.concat(20, 20)) is 100
puts area.apply(this, arguments.concat(20, 20)) is 100
curried 10, 10
@@ -29,4 +29,4 @@ func: ->
arguments: 25
arguments
print func(100) is 25
puts func(100) is 25