Haskell quickBatch Ap arbitrary applicative monoid

前端 未结 0 1829
死守一世寂寞
死守一世寂寞 2021-01-18 00:31

Based on the suggestion provided at ZipList Monoid haskell, I have created this code which works:

newtype Ap f a = Ap { getAp :: f a }
  deriving (Eq, Show)
i         


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