regular 0.2.3 → 0.2.4
raw patch · 4 files changed
+7/−3 lines, 4 files
Files
- ChangeLog +4/−0
- regular.cabal +1/−1
- src/Generics/Regular/Functions/Crush.hs +1/−1
- src/Generics/Regular/Functions/Zip.hs +1/−1
ChangeLog view
@@ -1,3 +1,7 @@+version 0.2.4:+ - Export Assoc(..) from Generics.Regular.Functions.Crush (thanks to Martijn+ van Steenbergen).+ version 0.2.3: - Replaced the flag on the cabal package by an explicit test on the ghc version. This makes it easier to build on ghc-6.12.
regular.cabal view
@@ -1,5 +1,5 @@ name: regular-version: 0.2.3+version: 0.2.4 synopsis: Generic programming library for regular datatypes. description:
src/Generics/Regular/Functions/Crush.hs view
@@ -16,7 +16,7 @@ module Generics.Regular.Functions.Crush ( -- * Crush functions- Crush (..),+ Crush (..), Assoc(..), flattenl, flattenr, crushr, crushl ) where
src/Generics/Regular/Functions/Zip.hs view
@@ -49,7 +49,7 @@ instance (Zip f, Zip g) => Zip (f :+: g) where fzipM f (L x) (L y) = liftM L (fzipM f x y) fzipM f (R x) (R y) = liftM R (fzipM f x y)- fzipM _ _ _ = fail "fzipM: structure mismatch"+ fzipM _ _ _ = fail "fzipM: structure mismatch" instance (Zip f, Zip g) => Zip (f :*: g) where fzipM f (x1 :*: y1) (x2 :*: y2) =