Sha256: 534bb3047ebc8607c248d454df1baa127f218e650cc2f1bc404e2901becc0d8e

Contents?: true

Size: 187 Bytes

Versions: 2

Compression:

Stored size: 187 Bytes

Contents

(define -
  (native_function "
    Proc.new() do |arguments, interpreter|
      tmp = arguments.map {|item| interpreter.evaluate(item) }
      tmp.inject {|sum, n| sum - n }
    end
  "))

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flea-0.1.1 lib/flea/standard_library/subtraction_operator.scm
flea-0.1.0 lib/flea/standard_library/subtraction_operator.scm