traverse-with-class 0.1 → 0.1.1
raw patch · 5 files changed
+19/−3 lines, 5 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Data.Generics.Traversable: class GTraversable (c :: * -> Constraint) a where gtraverse = const pure
+ Data.Generics.Traversable: class GTraversable (c :: * -> Constraint) a where gtraverse _ x = pure x
Files
- CHANGES.md +7/−0
- Data/Generics/Traversable.hs +1/−1
- Data/Generics/Traversable/Core.hs +1/−1
- README.md +6/−0
- traverse-with-class.cabal +4/−1
+ CHANGES.md view
@@ -0,0 +1,7 @@+Changes+=======++Version 0.1.1+-------------++Fix some compatibility issues
Data/Generics/Traversable.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE ConstraintKinds, KindSignatures, MultiParamTypeClasses, RankNTypes, UndecidableInstances, ImplicitParams, ScopedTypeVariables #-}+{-# LANGUAGE ConstraintKinds, KindSignatures, MultiParamTypeClasses, RankNTypes, UndecidableInstances, ImplicitParams, ScopedTypeVariables, FlexibleContexts, FlexibleInstances #-} -- | All of the functions below work only on «interesting» subterms. -- It is up to the instance writer to decide which subterms are -- interesting and which subterms should count as immediate. This can
Data/Generics/Traversable/Core.hs view
@@ -19,4 +19,4 @@ :: (Applicative f, ?c :: p c) => (forall d . c d => d -> f d) -> a -> f a- gtraverse = const pure+ gtraverse _ x = pure x
+ README.md view
@@ -0,0 +1,6 @@+# Traverse with class!++`traverse-with-class` is a Haskell library for writing generic traversal+functions. It is similar to syb-with-class, but has many improvements.++[Hackage](http://hackage.haskell.org/package/traverse-with-class)
traverse-with-class.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: traverse-with-class-version: 0.1+version: 0.1.1 synopsis: Generic applicative traversals description: This is a generic programming library in the spirit of \"Scrap your boilerplate with class\", but with several@@ -19,6 +19,9 @@ category: Data build-type: Simple cabal-version: >=1.10+extra-source-files:+ README.md+ CHANGES.md library exposed-modules: Data.Generics.Traversable