Sha256: 146c7e26a1e0194d1cf344c9af04c17ac11866be4644ef3c99ae680d143f0c38

Contents?: true

Size: 134 Bytes

Versions: 7

Compression:

Stored size: 134 Bytes

Contents

def foo(f)
  f.call(1)
end

foo(-> x { "str" })

__END__
# Classes
class Object
  def foo : (Proc[(Integer) -> String]) -> String
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
typeprof-0.3.0 smoke/proc4.rb
typeprof-0.2.0 smoke/proc4.rb
typeprof-0.1.4 smoke/proc4.rb
typeprof-0.1.3 smoke/proc4.rb
typeprof-0.1.2 smoke/proc4.rb
typeprof-0.1.1 smoke/proc4.rb
typeprof-0.1.0 smoke/proc4.rb