Is this a valid monad instance?

后端 未结 0 1304
不知归路
不知归路 2020-12-29 07:23

Here\'s my type and it\'s proposed monad instance.

newtype Inf m a = Inf { getInf :: m (a, Inf m a) }

instance (Monad          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题