Flip functor instance Haskell

前端 未结 0 1963
谎友^
谎友^ 2021-01-29 21:06

I need to write the Functor instances for the Flip datatype:

data K a b = K a
newtype Flip f a b = Flip (f b a) deriving (Eq, Show)

instance Functor         


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