Issue #17721 has been reported by bughit (bug hit).

----------------------------------------
Feature #17721: Proc.new should be able to contruct a lambda
https://bugs.ruby-lang.org/issues/17721

* Author: bughit (bug hit)
* Status: Open
* Priority: Normal
----------------------------------------
since procs and lambdas are of the same type, as long as Proc::new exists, it should be able to create either.

```ruby
class Proc
  def augment
    self.class.new lambda? do 
      call
    end
  end
end
```
    



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>