4 ms·
... To be super ridiculously over-the-top pedantic... That Applicative instance is on ((->) r). If you could actually do type-level sections, that'd be (r ->).
by chowells 4y ago
... To be super ridiculously over-the-top pedantic... That Applicative instance is on ((->) r). If you could actually do type-level sections, that'd be (r ->). But type-level sections are the same as type-level lambdas, and they would break a lot about Haskell's type system so they don't exist.
All of which is to say, great work.
- cole-k 4y agoRight you are, I never remember the proper name for the instance. I only use it to spaghettify code.