Format an arbitrary value without requiring a Buildable instance:
data Foo = Foo { x :: Bool, y :: [Int] } deriving Genericfmt (genericF (Foo True [1,2,3]))Foo: x: True y: [1, 2, 3]
It works for non-record constructors too:
data Bar = Bar Bool [Int] deriving GenericfmtLn (genericF (Bar True [1,2,3]))<Bar: True, [1, 2, 3]>
Any fields inside the type must either be Buildable or one of the following types:
The exact format of genericF might change in future versions, so don't rely on it. It's merely a convenience function.