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

4

u/saynte Apr 27 '14

Definitions of what?

2

u/[deleted] Apr 27 '14

[removed] — view removed comment

3

u/saynte Apr 27 '14

Ah, I see what you meant now; those aren't definitions, just execution traces (of a sort).

Assuming you're talking about how monadic computations are built in Haskell vs. other languages: I don't see how they could be reversed, you could get the same trace in both cases I suppose.

-2

u/[deleted] Apr 27 '14

[removed] — view removed comment

5

u/saynte Apr 27 '14

Okay, I can see now that if you write a different program than what I showed you can get different behaviour :).

This isn't about strict vs. non-strict evaluation, those are just incorrect translations.