[#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:106429] [Ruby master Feature#17721] Proc.new should be able to contruct a lambda
From:
"naruse (Yui NARUSE)" <noreply@...>
Date:
2021-12-03 02:13:10 UTC
List:
ruby-core #106429
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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>