Skip to content

Commit

Permalink
Update perspective in CB to be up-to-date with upstream. (#18500)
Browse files Browse the repository at this point in the history
~~The second commit corresponds to [a PR
upstream](Katrix/perspective#2
  • Loading branch information
anatoliykmetyuk authored Sep 7, 2023
2 parents e90dc31 + 9fa468c commit 08f2faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion community-build/community-projects/perspective
Submodule perspective updated 84 files
+47 −27 .scalafmt.conf
+27 −34 build.sbt
+26 −0 dotty/derivation/src/main/scala/perspective/derivation/ArrayProduct.scala
+252 −0 dotty/derivation/src/main/scala/perspective/derivation/Helpers.scala
+78 −0 dotty/derivation/src/main/scala/perspective/derivation/arrayProductK.scala
+363 −127 dotty/derivation/src/main/scala/perspective/derivation/hkdGeneric.scala
+1,102 −0 dotty/derivation/src/main/scala/perspective/derivation/inlineHkdGeneric.scala
+76 −38 dotty/derivation/src/main/scala/perspective/derivation/productK.scala
+172 −0 dotty/derivation/src/test/scala/perspective/derivation/CodecTests.scala
+161 −0 dotty/derivation/src/test/scala/perspective/derivation/HKDProductGenericTests.scala
+175 −0 dotty/derivation/src/test/scala/perspective/derivation/HKDSumGenericTests.scala
+45 −0 dotty/derivation/src/test/scala/perspective/derivation/HelpersTests.scala
+161 −0 dotty/derivation/src/test/scala/perspective/derivation/InlineCodecTests.scala
+327 −0 dotty/derivation/src/test/scala/perspective/derivation/InlineHKDProductGenericTests.scala
+358 −0 dotty/derivation/src/test/scala/perspective/derivation/InlineHKDSumGenericTests.scala
+58 −0 dotty/derivation/src/test/scala/perspective/derivation/InlineUnrollingCodecTests.scala
+78 −0 dotty/derivation/src/test/scala/perspective/derivation/ProductKTests.scala
+217 −65 dotty/examples/src/main/scala/perspective/examples/testing.scala
+11 −3 dotty/perspective/src/main/scala/perspective/ApplicativeK.scala
+17 −7 dotty/perspective/src/main/scala/perspective/ApplyK.scala
+11 −4 dotty/perspective/src/main/scala/perspective/Compose.scala
+7 −1 dotty/perspective/src/main/scala/perspective/Const.scala
+18 −10 dotty/perspective/src/main/scala/perspective/DistributiveK.scala
+26 −13 dotty/perspective/src/main/scala/perspective/Finite.scala
+12 −7 dotty/perspective/src/main/scala/perspective/FoldableK.scala
+54 −6 dotty/perspective/src/main/scala/perspective/FunctionK.scala
+19 −8 dotty/perspective/src/main/scala/perspective/FunctorK.scala
+2 −3 dotty/perspective/src/main/scala/perspective/Id.scala
+3 −3 dotty/perspective/src/main/scala/perspective/MonadK.scala
+27 −13 dotty/perspective/src/main/scala/perspective/RepresentableK.scala
+22 −8 dotty/perspective/src/main/scala/perspective/TraverseK.scala
+22 −7 dotty/perspective/src/main/scala/perspective/TupleK.scala
+8 −3 dotty/perspective/src/main/scala/perspective/ValueK.scala
+1 −1 project/build.properties
+2 −3 scala2/derivation/src/main/scala/perspective/derivation/ArrayProductK.scala
+77 −77 scala2/derivation/src/main/scala/perspective/derivation/ArrayProductKNewtypes.scala
+21 −8 scala2/derivation/src/main/scala/perspective/derivation/HKDProductGeneric.scala
+152 −23 scala2/derivation/src/main/scala/perspective/derivation/HKDProductGenericMacros.scala
+22 −13 scala2/derivation/src/main/scala/perspective/derivation/HKDSumGeneric.scala
+135 −8 scala2/derivation/src/main/scala/perspective/derivation/HKDSumGenericMacros.scala
+66 −52 scala2/derivation/src/main/scala/perspective/derivation/productK.scala
+1 −1 scala2/derivation/src/test/scala/perspective/derivation/DecoderDerive.scala
+37 −0 scala2/derivation/src/test/scala/perspective/derivation/DecoderDeriveFast.scala
+2 −2 scala2/derivation/src/test/scala/perspective/derivation/EncoderDerive.scala
+42 −0 scala2/derivation/src/test/scala/perspective/derivation/EncoderDeriveFast.scala
+6 −7 scala2/derivation/src/test/scala/perspective/derivation/GenericSpec.scala
+36 −0 scala2/derivation/src/test/scala/perspective/derivation/JsonFastSpec.scala
+4 −3 scala2/derivation/src/test/scala/perspective/derivation/JsonSpec.scala
+1 −1 scala2/examples/src/main/scala/perspective/examples/CodecDeriver.scala
+2 −2 scala2/examples/src/main/scala/perspective/examples/DecoderDerive.scala
+2 −2 scala2/examples/src/main/scala/perspective/examples/EncoderDerive.scala
+15 −11 scala2/examples/src/main/scala/perspective/examples/TestBig.scala
+9 −9 scala2/examples/src/main/scala/perspective/examples/testing.scala
+6 −4 scala2/macros/src/main/scala/perspective/macros/Derive.scala
+92 −98 scala2/macros/src/main/scala/perspective/macros/DeriveMacros.scala
+3 −4 scala2/macros/src/main/scala/perspective/macros/PerspectiveAnnotationMacros.scala
+2 −1 scala2/macros/src/main/scala/perspective/macros/hkd.scala
+0 −44 scala2/parameterized/src/main/scala/perspective/parameterized/Const.scala
+0 −29 scala2/parameterized/src/main/scala/perspective/parameterized/FunctionK.scala
+0 −17 scala2/parameterized/src/main/scala/perspective/parameterized/PApplicativeK.scala
+0 −14 scala2/parameterized/src/main/scala/perspective/parameterized/PApplyK.scala
+0 −22 scala2/parameterized/src/main/scala/perspective/parameterized/PFunctorK.scala
+0 −12 scala2/parameterized/src/main/scala/perspective/parameterized/PMonadK.scala
+0 −85 scala2/parameterized/src/main/scala/perspective/parameterized/package.scala
+1 −3 scala2/perspective/src/main/scala/perspective/ApplicativeK.scala
+1 −3 scala2/perspective/src/main/scala/perspective/ApplyK.scala
+1 −2 scala2/perspective/src/main/scala/perspective/DistributiveK.scala
+5 −2 scala2/perspective/src/main/scala/perspective/Finite.scala
+1 −3 scala2/perspective/src/main/scala/perspective/FoldableK.scala
+1 −3 scala2/perspective/src/main/scala/perspective/FunctorK.scala
+2 −4 scala2/perspective/src/main/scala/perspective/MonadK.scala
+2 −3 scala2/perspective/src/main/scala/perspective/RepresentableK.scala
+2 −3 scala2/perspective/src/main/scala/perspective/TraverseK.scala
+167 −71 scala2/perspective/src/main/scala/perspective/TupleInstances.scala
+3 −1 scala2/perspective/src/main/scala/perspective/package.scala
+1 −1 scala2/perspective/src/main/scala/perspective/syntax/ApplicativeKSyntax.scala
+11 −1 scala2/perspective/src/main/scala/perspective/syntax/ApplyKSyntax.scala
+3 −3 scala2/perspective/src/main/scala/perspective/syntax/DistributiveKSyntax.scala
+23 −3 scala2/perspective/src/main/scala/perspective/syntax/FoldableKSyntax.scala
+13 −1 scala2/perspective/src/main/scala/perspective/syntax/FunctorKSyntax.scala
+22 −3 scala2/perspective/src/main/scala/perspective/syntax/MonadKSyntax.scala
+15 −3 scala2/perspective/src/main/scala/perspective/syntax/RepresentableKSyntax.scala
+33 −3 scala2/perspective/src/main/scala/perspective/syntax/TraverseKSyntax.scala
+5 −3 scripts/makeArrayProductKNewtypes.sc

0 comments on commit 08f2faf

Please sign in to comment.