Is it possible to create a Monad that count the number of instructions?

后端 未结 3 995
一生所求
一生所求 2021-01-17 20:51

Thinking about monad, it came to me the idea of a monad as the way to break with the Von Neumann architecture. The Von Neumann architecture uses a set of instructions (calle

3条回答
  •  礼貌的吻别
    2021-01-17 21:12

    Strictly speaking, any such "monad" breaks the monad laws and is thus... not a monad. See this previous question for details. In other words - your guess is correct, it is not possible to have such a monad.

提交回复
热议问题