Copyright | (c) Sergey Vinokurov 2018 |
---|---|
License | Apache-2.0 (see LICENSE) |
Maintainer | serg.foo@gmail.com |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Documentation
Helper to use Show
-based prettyprinting with DerivingVia.
>>>
:{
data TestWithDeriving a b = TestWithDeriving { testSet :: Maybe (Set a) , testB :: b , testIntMap :: IntMap String , testComplexMap :: Map (Maybe (Set Int)) (IntMap (Set String)) } deriving (Show) deriving Pretty via PPShow (TestWithDeriving a b) :}