No offence, but I can't help ya. I wasn't talkin about your exmaple, because it doesn't make any sense in the context of my post. You built a variadic applicator, which is dual to function composition. You cannot compare function application f => x => f(x) with composition f => g => x => f(g(x)). Both have completely different operational semantics.
No offence, but I can't help ya. I wasn't talkin about your exmaple, because it doesn't make any sense in the context of my post. You built a variadic applicator, which is dual to function composition. You cannot compare function application
f => x => f(x)
with compositionf => g => x => f(g(x))
. Both have completely different operational semantics.Sounds pretty deep in the academics. ;)
When building applications I test if the behavior is robust and if it's performant and achieves the desired result.
Good luck.