4 ms·
I don't understand. There is no memorisation necessary. The modules are imported, qualified by an alias. I'll accept the learning curve for Haskell is at least
by yakshaving_jgt 6y ago
I don't understand. There is no memorisation necessary. The modules are imported, qualified by an alias.
I'll accept the learning curve for Haskell is at least longer (rather than steeper) than in most languages, but to hold this up as an example to me is just bizarre.
And I say this is someone who only knew JavaScript and PHP for some years before learning a bunch of other languages including Haskell.
Moreover, you've conveniently left out the type signature which I expect would normally accompany this function, which would tell the reader what the `p` variable is.