git.iko.soy/typeable/derive-api-th
on master help sign in
fix
commit8aae46df8f733bce879489b61bb2bf1d92e7449c authorodr <dima.typeable.io> dateTue 10 Sep 2024, 12:47 (2 years ago) parent0b4b226
1 file changed+2−2
src/Derive/API/TH.hs+2−2
src/Derive/API/TH.hs+2−2
@@ -152,8 +152,8 @@ deriveArbitrary t = do
152152 ba = VarE 'genericArbitrary
153153 bs = VarE 'genericShrink
154154 pure [InstanceD Nothing ctx (ConT ''Arbitrary `AppT` datatypeType tinfo)
155− [ pure $ FunD 'arbitrary [Clause [] (NormalB ba) []]
156− , pure $ FunD 'shrink [Clause [] (NormalB bs) []] ]
155+ [ FunD 'arbitrary [Clause [] (NormalB ba) []]
156+ , FunD 'shrink [Clause [] (NormalB bs) []] ] ]
157157 -- (pure )
158158 -- (pure $ ConT ''ToSchema `AppT` datatypeType tinfo)
159159 -- [ funD 'declareNamedSchema $ pure $ clause [] (normalB body) [] ]