How to get the “inflexible semantics of monad transformers” using extensible effects?

前端 未结 0 894
孤城傲影
孤城傲影 2021-01-06 12:41

Consider the following example.

newtype TooBig = TooBig Int deriving Show

choose :: MonadPlus m => [a] -> m a
ch         


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