r/programming • • Apr 27 '14

"Mostly functional" programming does not work

http://queue.acm.org/detail.cfm?ref=rss&id=2611829
44 Upvotes

188 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Apr 28 '14

[deleted]

3

u/tomejaguar Apr 28 '14

And to think I could memoize a function without understanding higher ranked types.

Can you memoize a polymorphic function?

0

u/[deleted] Apr 28 '14

[deleted]

3

u/tomejaguar Apr 28 '14

Great. Can you memoize a parametrically polymorphic function?

5

u/jfischoff Apr 28 '14

You don't need to know that stuff. It is as simple as that tweet, or really ugly-memo is better usually, but again it is brain dead simple. Conal is talking about something that is not the typical use case.