From: "naruse (Yui NARUSE)" Date: 2021-12-03T02:13:10+00:00 Subject: [ruby-core:106429] [Ruby master Feature#17721] Proc.new should be able to contruct a lambda Issue #17721 has been updated by naruse (Yui NARUSE). Status changed from Rejected to Feedback A correct status of a ticket whose description doesn't have a use cases or user stories to discuss the validness of the request and the actual API design is "Feedback".e ---------------------------------------- Feature #17721: Proc.new should be able to contruct a lambda https://bugs.ruby-lang.org/issues/17721#change-95071 * Author: bughit (bug hit) * Status: Feedback * 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: