Haskell: Deriving Show for custom type

前端 未结 2 733
傲寒
傲寒 2021-02-05 02:12

I have this type definition:

data Operace = Op (Int->Int->Int) String (Int->Int->Int) deriving Show

I want to print this type into

2条回答
提交回复
热议问题