Sha256: e7d536cdb0ce40e5a376a449f247dbc0d6aac9a3aebb0b28a2947fb9edb438a3
Contents?: true
Size: 317 Bytes
Versions: 3
Compression:
Stored size: 317 Bytes
Contents
square = -> {|num| num*num } cube = -> {|num| num*square(num)} l = lambda do |a, b| tmp = a * 7 tmp * b / 50 end hello = -> {puts "Hello World"} hello_world = -> {|| puts "Hello World!"} fill = -> {|container, liquid = "coffee"| "Filling the #{container} with #{liquid}" } puts cube square 5
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nilac-0.0.4.3.9.8 | shark/test_files/lambda.nila |
nilac-0.0.4.3.9.7.1 | shark/test_files/lambda.nila |
nilac-0.0.4.3.9.7 | shark/test_files/lambda.nila |