registry 0.1.4.0 → 0.1.4.1
raw patch · 2 files changed
+4/−3 lines, 2 filesdep ~semigroupsPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
Dependency ranges changed: semigroups
API changes (from Hackage documentation)
+ Data.Registry.Registry: infixr 4 <+>
Files
- registry.cabal +3/−3
- src/Data/Registry/Registry.hs +1/−0
registry.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: e8a0bcc6a337a5f2490898d33671fd1ee6e62d9e3f3f3ce38f7668448b2616a7+-- hash: 93391393725500559fd1f61542de85c5032805123e2e8422cf22ef4b5a4ceb78 name: registry-version: 0.1.4.0+version: 0.1.4.1 synopsis: data structure for assembling components description: This library provides a "Registry" which is a data structure containing a list of functions and values representing dependencies in a directed acyclic graph. A `make` function can then be used to create a value of a specific type out of the registry. You can start with the [README](https://github.com/etorreborre/registry/blob/master/README.md) for a full description of the library.@@ -59,7 +59,7 @@ , protolude >=0.2 && <0.3 , resourcet >=1.1 && <1.3 , semigroupoids >=5.0 && <5.4- , semigroups >=0.15 && <0.19+ , semigroups >=0.15 && <0.20 , template-haskell >=2.13 && <3.0 , text >=1.1 && <2 , transformers-base >=0.4 && <0.5
src/Data/Registry/Registry.hs view
@@ -81,6 +81,7 @@ mappend = (<>) -- | Append 2 registries together+infixr 4 <+> (<+>) :: Registry is1 os1 -> Registry is2 os2 -> Registry (is1 :++ is2) (os1 :++ os2) (<+>) (Registry (Values vs1) (Functions fs1) (Specializations ss1) (Modifiers ms1)) (Registry (Values vs2) (Functions fs2) (Specializations ss2) (Modifiers ms2)) =