instant-generics 0.3.2 → 0.3.3
raw patch · 2 files changed
+2/−5 lines, 2 filesdep ~template-haskellPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: template-haskell
API changes (from Hackage documentation)
Files
instant-generics.cabal view
@@ -1,7 +1,7 @@ category: Generics copyright: (c) 2011 Universiteit Utrecht name: instant-generics-version: 0.3.2+version: 0.3.3 license: BSD3 license-file: LICENSE author: José Pedro Magalhães@@ -29,7 +29,7 @@ library hs-source-dirs: src- build-depends: base >= 3.0 && < 5, template-haskell >=2.4 && <2.6,+ build-depends: base >= 3.0 && < 5, template-haskell >=2.4 && <2.7, containers < 0.5, syb < 0.4 exposed-modules: Generics.Instant, Generics.Instant.Base,
src/Generics/Instant/Base.hs view
@@ -68,7 +68,6 @@ -- | Class for datatypes that represent data constructors. -- For non-symbolic constructors, only 'conName' has to be defined. class Constructor c where - {-# INLINE conName #-} conName :: t c p q a -> String {-# INLINE conFixity #-} conFixity :: t c p q a -> Fixity @@ -89,9 +88,7 @@ class Representable a where type Rep a - {-# INLINE [1] to #-} to :: Rep a -> a - {-# INLINE [1] from #-} from :: a -> Rep a -- defaults {-