[#106355] [Ruby master Bug#18373] RBS build failure: '/include/x86_64-linux/ruby/config.h', needed by 'constants.o'. — "vo.x (Vit Ondruch)" <noreply@...>
Issue #18373 has been reported by vo.x (Vit Ondruch).
28 messages
2021/12/01
[ruby-core:106407] [Ruby master Feature#17721] Proc.new should be able to contruct a lambda
From:
"ko1 (Koichi Sasada)" <noreply@...>
Date:
2021-12-02 18:45:02 UTC
List:
ruby-core #106407
Issue #17721 has been updated by ko1 (Koichi Sasada).
Status changed from Open to Rejected
could you make new ticket with more motivation/example/discussion?
----------------------------------------
Feature #17721: Proc.new should be able to contruct a lambda
https://bugs.ruby-lang.org/issues/17721#change-95046
* Author: bughit (bug hit)
* Status: Rejected
* 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>