Sha256: 5e98067cd2dd7a9e06243744b9d46d8e164b4747913edc0573446bb81a42543d

Contents?: true

Size: 209 Bytes

Versions: 1

Compression:

Stored size: 209 Bytes

Contents

require 'ludy/symbol/to_proc'
require 'ludy/proc/curry'

class Symbol
  # synonymy for to_proc.curry
  def curry args = nil
    if args
      to_proc.curry args
    else
      to_proc.curry
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ludy-0.1.15 lib/ludy/symbol/curry.rb