reflection 1.3.1 → 1.3.2
raw patch · 2 files changed
+5/−1 lines, 2 filesdep ~template-haskellPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: template-haskell
API changes (from Hackage documentation)
+ Data.Reflection: instance Eq (Q a)
+ Data.Reflection: instance Show (Q a)
Files
- fast/Data/Reflection.hs +4/−0
- reflection.cabal +1/−1
fast/Data/Reflection.hs view
@@ -171,6 +171,10 @@ | n >= 0 = int n | otherwise = error "nat: negative" +#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL < 704+instance Show (Q a)+instance Eq (Q a)+#endif instance Num a => Num (Q a) where (+) = liftM2 (+) (*) = liftM2 (*)
reflection.cabal view
@@ -1,5 +1,5 @@ name: reflection-version: 1.3.1+version: 1.3.2 license: BSD3 license-file: LICENSE author: Edward A. Kmett, Elliott Hird, Oleg Kiselyov and Chung-chieh Shan