Why does Haskell not have an I Monad (for input only, unlike the IO monad)?

后端 未结 5 1204
攒了一身酷
攒了一身酷 2021-02-18 15:29

Conceptually, it seems that a computation that performs output is very different from one that performs input only. The latter is, in one sense, much purer.

I, for one,

5条回答
提交回复
热议问题