|
|
|
|
|
by ogogmad
1452 days ago
|
|
Monads are (for better or worse) contagious. So when one function calls a monad, then it needs to be included in the monad as well. It makes introducing memoisation to a file, randomisation, and memoisation not-to-a-file (without using lazy evaluation to express it) difficult. I don't know whether the alternatives (effect systems for instance) help with this. I personally don't use functional languages because I find them too difficult given the needs and interests I have. I think about computations sequentially most of the time. |
|