proto-lens-combinators 0.1.0.7 → 0.1.0.8
raw patch · 3 files changed
+76/−24 lines, 3 filesdep ~base
Dependency ranges changed: base
Files
- Changelog.md +26/−0
- dist/build/autogen/Proto/Combinators.hs +46/−21
- proto-lens-combinators.cabal +4/−3
+ Changelog.md view
@@ -0,0 +1,26 @@+# Changelog for `proto-lens-combinators`++## Unreleased changes++## 0.1.0.8+- Bump the dependency on `base` to support `ghc-8.2.1`.++## 0.1.0.7+- Use a `custom-setup` clause.++## 0.1.0.6+- Bump the dependency for `proto-lens-0.2`.+- Use modules from `lens-family-core` instead of `lens-family` to improve type+ inference.++## 0.1.0.4+- Bump the dependency for `data-default-class-0.1`.++## 0.1.0.2+- Explicitly depend on the `proto-lens` library in the unit test.++## 0.1.0.1+- Bump the dependencies on `base` and `transformers` to support `ghc-8.0`.++## 0.1.0.0+Initial version.
dist/build/autogen/Proto/Combinators.hs view
@@ -29,14 +29,16 @@ _Foo'foo :: !(Prelude.Maybe Foo'Bar), _Foo'bar :: !(Prelude.Maybe Foo'Bar), _Foo'baz :: !(Prelude.Maybe Foo'Bar)}- deriving (Prelude.Show, Prelude.Eq)+ deriving (Prelude.Show, Prelude.Eq, Prelude.Ord) instance (a ~ Data.Int.Int32, b ~ Data.Int.Int32, Prelude.Functor f) => Lens.Labels.HasLens "quux" f Foo Foo a b where lensOf _- = (Prelude..) maybe'quux+ = (Prelude..)+ (Lens.Family2.Unchecked.lens _Foo'quux+ (\ x__ y__ -> x__{_Foo'quux = y__})) (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) instance (a ~ Prelude.Maybe Data.Int.Int32,@@ -44,14 +46,18 @@ Lens.Labels.HasLens "maybe'quux" f Foo Foo a b where lensOf _- = Lens.Family2.Unchecked.lens _Foo'quux- (\ x__ y__ -> x__{_Foo'quux = y__})+ = (Prelude..)+ (Lens.Family2.Unchecked.lens _Foo'quux+ (\ x__ y__ -> x__{_Foo'quux = y__}))+ Prelude.id instance (a ~ Foo'Bar, b ~ Foo'Bar, Prelude.Functor f) => Lens.Labels.HasLens "foo" f Foo Foo a b where lensOf _- = (Prelude..) maybe'foo+ = (Prelude..)+ (Lens.Family2.Unchecked.lens _Foo'foo+ (\ x__ y__ -> x__{_Foo'foo = y__})) (Data.ProtoLens.maybeLens Data.Default.Class.def) instance (a ~ Prelude.Maybe Foo'Bar, b ~ Prelude.Maybe Foo'Bar,@@ -59,14 +65,18 @@ Lens.Labels.HasLens "maybe'foo" f Foo Foo a b where lensOf _- = Lens.Family2.Unchecked.lens _Foo'foo- (\ x__ y__ -> x__{_Foo'foo = y__})+ = (Prelude..)+ (Lens.Family2.Unchecked.lens _Foo'foo+ (\ x__ y__ -> x__{_Foo'foo = y__}))+ Prelude.id instance (a ~ Foo'Bar, b ~ Foo'Bar, Prelude.Functor f) => Lens.Labels.HasLens "bar" f Foo Foo a b where lensOf _- = (Prelude..) maybe'bar+ = (Prelude..)+ (Lens.Family2.Unchecked.lens _Foo'bar+ (\ x__ y__ -> x__{_Foo'bar = y__})) (Data.ProtoLens.maybeLens Data.Default.Class.def) instance (a ~ Prelude.Maybe Foo'Bar, b ~ Prelude.Maybe Foo'Bar,@@ -74,14 +84,18 @@ Lens.Labels.HasLens "maybe'bar" f Foo Foo a b where lensOf _- = Lens.Family2.Unchecked.lens _Foo'bar- (\ x__ y__ -> x__{_Foo'bar = y__})+ = (Prelude..)+ (Lens.Family2.Unchecked.lens _Foo'bar+ (\ x__ y__ -> x__{_Foo'bar = y__}))+ Prelude.id instance (a ~ Foo'Bar, b ~ Foo'Bar, Prelude.Functor f) => Lens.Labels.HasLens "baz" f Foo Foo a b where lensOf _- = (Prelude..) maybe'baz+ = (Prelude..)+ (Lens.Family2.Unchecked.lens _Foo'baz+ (\ x__ y__ -> x__{_Foo'baz = y__})) (Data.ProtoLens.maybeLens Data.Default.Class.def) instance (a ~ Prelude.Maybe Foo'Bar, b ~ Prelude.Maybe Foo'Bar,@@ -89,8 +103,10 @@ Lens.Labels.HasLens "maybe'baz" f Foo Foo a b where lensOf _- = Lens.Family2.Unchecked.lens _Foo'baz- (\ x__ y__ -> x__{_Foo'baz = y__})+ = (Prelude..)+ (Lens.Family2.Unchecked.lens _Foo'baz+ (\ x__ y__ -> x__{_Foo'baz = y__}))+ Prelude.id instance Data.Default.Class.Default Foo where def@@ -124,7 +140,7 @@ (Data.ProtoLens.OptionalField maybe'baz) :: Data.ProtoLens.FieldDescriptor Foo in- Data.ProtoLens.MessageDescriptor+ Data.ProtoLens.MessageDescriptor (Data.Text.pack "combinators.Foo") (Data.Map.fromList [(Data.ProtoLens.Tag 1, quux__field_descriptor), (Data.ProtoLens.Tag 2, foo__field_descriptor),@@ -137,14 +153,16 @@ data Foo'Bar = Foo'Bar{_Foo'Bar'fizz :: !(Prelude.Maybe Data.Int.Int32), _Foo'Bar'buzz :: !(Prelude.Maybe Data.Text.Text)}- deriving (Prelude.Show, Prelude.Eq)+ deriving (Prelude.Show, Prelude.Eq, Prelude.Ord) instance (a ~ Data.Int.Int32, b ~ Data.Int.Int32, Prelude.Functor f) => Lens.Labels.HasLens "fizz" f Foo'Bar Foo'Bar a b where lensOf _- = (Prelude..) maybe'fizz+ = (Prelude..)+ (Lens.Family2.Unchecked.lens _Foo'Bar'fizz+ (\ x__ y__ -> x__{_Foo'Bar'fizz = y__})) (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) instance (a ~ Prelude.Maybe Data.Int.Int32,@@ -152,15 +170,19 @@ Lens.Labels.HasLens "maybe'fizz" f Foo'Bar Foo'Bar a b where lensOf _- = Lens.Family2.Unchecked.lens _Foo'Bar'fizz- (\ x__ y__ -> x__{_Foo'Bar'fizz = y__})+ = (Prelude..)+ (Lens.Family2.Unchecked.lens _Foo'Bar'fizz+ (\ x__ y__ -> x__{_Foo'Bar'fizz = y__}))+ Prelude.id instance (a ~ Data.Text.Text, b ~ Data.Text.Text, Prelude.Functor f) => Lens.Labels.HasLens "buzz" f Foo'Bar Foo'Bar a b where lensOf _- = (Prelude..) maybe'buzz+ = (Prelude..)+ (Lens.Family2.Unchecked.lens _Foo'Bar'buzz+ (\ x__ y__ -> x__{_Foo'Bar'buzz = y__})) (Data.ProtoLens.maybeLens Data.ProtoLens.fieldDefault) instance (a ~ Prelude.Maybe Data.Text.Text,@@ -168,8 +190,10 @@ Lens.Labels.HasLens "maybe'buzz" f Foo'Bar Foo'Bar a b where lensOf _- = Lens.Family2.Unchecked.lens _Foo'Bar'buzz- (\ x__ y__ -> x__{_Foo'Bar'buzz = y__})+ = (Prelude..)+ (Lens.Family2.Unchecked.lens _Foo'Bar'buzz+ (\ x__ y__ -> x__{_Foo'Bar'buzz = y__}))+ Prelude.id instance Data.Default.Class.Default Foo'Bar where def@@ -192,6 +216,7 @@ :: Data.ProtoLens.FieldDescriptor Foo'Bar in Data.ProtoLens.MessageDescriptor+ (Data.Text.pack "combinators.Foo.Bar") (Data.Map.fromList [(Data.ProtoLens.Tag 1, fizz__field_descriptor), (Data.ProtoLens.Tag 2, buzz__field_descriptor)])
proto-lens-combinators.cabal view
@@ -1,5 +1,5 @@ name: proto-lens-combinators-version: 0.1.0.7+version: 0.1.0.8 synopsis: Utilities functions to proto-lens. description: Useful things for working with protos.@@ -14,9 +14,10 @@ build-type: Custom cabal-version: >=1.10 extra-source-files: tests/combinators.proto+extra-source-files: Changelog.md custom-setup- setup-depends: base >= 4.8 && < 4.10+ setup-depends: base >= 4.8 && < 4.11 , Cabal , proto-lens-protoc == 0.2.* @@ -27,7 +28,7 @@ build-depends: proto-lens >= 0.1 && < 0.3 -- Used by the custom Setup script (for the test-suite). , proto-lens-protoc >= 0.1 && < 0.3- , base >= 4.8 && < 4.10+ , base >= 4.8 && < 4.11 , data-default-class >= 0.0 && < 0.2 , lens-family == 1.2.* , transformers >= 0.4 && < 0.6