classyplate 0.2.1.0 → 0.2.2.0
raw patch · 2 files changed
+2/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
classyplate.cabal view
@@ -1,5 +1,5 @@ name: classyplate -version: 0.2.1.0 +version: 0.2.2.0 synopsis: Fuseable type-class based generics -- description: license: BSD3
src/Data/Generics/ClassyPlate/TH.hs view
@@ -179,7 +179,7 @@ where argNames = take (length args) $ map (mkName . ("a"++) . show) [0..] formalArgs = zip args argNames mapArgRep (Just t, n) = VarE 'topDownM_ `AppE` VarE tokenName `AppE` VarE funName `AppE` VarE n - mapArgRep (Nothing, n) = VarE n + mapArgRep (Nothing, n) = VarE 'return `AppE` VarE n -- * descend