3 ms·
I'm a bit torn about normal functions. Traits/typeclasses often make more sense, but on the other hand, this kind of static monkey-patching makes it difficult t
by mercurial 12y ago
I'm a bit torn about normal functions. Traits/typeclasses often make more sense, but on the other hand, this kind of static monkey-patching makes it difficult to figure out which trait provides which method when looking at the code. But without something like the operator proposed here, chaining normal functions is quite awkward.