General

Profile

mudge (Paul Mucur)

  • Login: mudge
  • Email: mudge@mudge.name
  • Registered on: 12/09/2010
  • Last sign in: 12/28/2018

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

07/04/2018

08:43 PM Ruby Feature #14896 (Open): Expose Net::HTTPResponse socket for integration with libraries expecting an IO
As several stdlib libraries support reading from IO-compatible objects (e.g. Zlib::GzipReader, Gem::Package::TarReader), would you be open to making the socket of a Net::HTTPResponse public?
This would enable such use cases as streami...
mudge (Paul Mucur)

10/12/2016

08:28 AM Ruby Feature #6284: Add composition for procs
Yukihiro Matsumoto wrote:
> Positive about adding function composition. But we need method name consensus before adding it?
> ...
Aside from implementation details, is the lack of consensus on the method name (and the resulting behavio...
mudge (Paul Mucur)

10/11/2016

08:18 PM Ruby Feature #6284: Add composition for procs
Alexander Moore-Niemi wrote:
> Paul: what's the performance of your `compose`? If I have time later I can use https://github.com/mooreniemi/graph-function to try and see.
I ran the following benchmark with benchmark-ips:
~~~
requ...
mudge (Paul Mucur)

12/30/2015

11:18 AM Ruby Feature #6284: Add composition for procs
With the recent addition of `Hash#to_proc` and performance improvements to `Proc`s in 2.3.0, I have rebased my patch (attached) to add composition between `Proc`s, `Method`s and other objects responding to `call` with `*` in the hope of ... mudge (Paul Mucur)

06/30/2015

12:39 PM Ruby Feature #6284: Add composition for procs
Pablo Herrero wrote:
> I don't believe you need a pure PF language to benefit from a feature like this. Many ETL projects like transproc (https://github.com/solnic/transproc) would probably find it useful too.
Transproc is what actua...
mudge (Paul Mucur)

06/29/2015

08:39 AM Ruby Feature #6284: Add composition for procs
Regarding the syntax: I also support `*` as the operator where `f * g = f(g(x))` (as it seems close enough to the mathematical syntax already used by other languages such as Haskell and Idris) but if that is too divisive, we could choose... mudge (Paul Mucur)

06/23/2015

02:47 PM Ruby Feature #6284: Add composition for procs
Attached patch to support composing with any object that responds to `call` (rather than raising a `TypeError` if the object was not a `Proc` or `Method`), e.g.
~~~ruby
class Foo
def call(x, y)
x + y
end
end
f = proc {...
mudge (Paul Mucur)

06/14/2015

04:55 PM Ruby Feature #6284: Add composition for procs
Attached patches for `Proc#*` and `Method#*` for Proc and Method composition including test cases. Also raised as a pull request on GitHub at https://github.com/ruby/ruby/pull/935
One thing that might be worth discussing is the necess...
mudge (Paul Mucur)

12/09/2010

07:16 PM Ruby Bug #4136: Enumerable#reject should not inherit the receiver's instance variables
=begin
I have attempted to codify this new behaviour in RubySpec in https://github.com/rubyspec/rubyspec/pull/31 and would appreciate any feedback.
=end
mudge (Paul Mucur)

Also available in: Atom