You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
implicitoverridedefunitUnit:ContraEithered[c.type, c.Expr, Unit, Unit, Unit] = backing.unitUnit
210
-
implicitoverridedefsymmetric[A]:ContraEithered[c.type, c.Expr, A, A, A] = backing.symmetric[A]
211
-
}
212
-
}
195
+
implicitdefcontextUnitUnit[Ctx<: scala.reflect.macros.blackbox.ContextwithSingleton, A]:ContraEithered[Ctx, Ctx#Expr, Unit, Unit, Unit] =BiEithered.contextUnitUnit[Ctx]
213
196
214
197
@ifdef("scalaBinaryVersion:3")
215
198
implicitdefquotedUnitUnit:ContraEithered[scala.quoted.Quotes, scala.quoted.Expr, Unit, Unit, Unit] = quotedSymmetric[Unit]
implicitdefquotedSymmetric[A]:ContraEithered[scala.quoted.Quotes, scala.quoted.Expr, A, A, A] =BiEithered.quotedSymmetric
223
206
207
+
@ifdef("scalaEpochVersion:2")
208
+
implicitdefcontextSymmetric[Ctx<: scala.reflect.macros.blackbox.ContextwithSingleton, A]:ContraEithered[Ctx, Ctx#Expr, A, A, A] =BiEithered.contextSymmetric[Ctx, A]
209
+
224
210
implicitdefidSymmetric[A]:ContraEithered[IdCtx, Id, A, A, A] =BiEithered.idSymmetric
implicitdefcontextUnitUnit[Ctx<: scala.reflect.macros.blackbox.ContextwithSingleton]:BiEithered[Ctx, Ctx#Expr, Unit, Unit, Unit] =this.contextSymmetric[Ctx, Unit]
275
239
276
240
@ifdef("scalaBinaryVersion:3")
277
241
implicitdefquotedUnitUnit:BiEithered[scala.quoted.Quotes, scala.quoted.Expr, Unit, Unit, Unit] = quotedSymmetric[Unit]
Copy file name to clipboardExpand all lines: CHANGES.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,12 @@
10
10
* Flatten Interpolator, Extractor, Parser and companions' inheritance hierarchy
11
11
* Include pages for `Interpolator.LiftedInterpolator` inner classes in docs
12
12
* Use `ifdef` annotation instead of inheritance for scala-version-specific methods
13
-
* Add `Ctx` type parameters and `ctx:Ctx` parameters to a lot of classes, methods, and function paramters
13
+
* Add `Ctx` type parameters and `ctx:Ctx` parameters to a lot of classes, methods, and function parameters
14
14
* On scala-3, add overloads to some parsers/extractors/interpolators methods such that one has a function parameter with an explicit Ctx parameter and the other has a function parameter with an implicit Ctx parameter
15
15
* Makes this library `-Xcheck-macros`-safe
16
16
*`scpc.IdCtx` created as the `Ctx` for the identity context
17
17
* Removed `quoted.Quotes` or `blackbox.Context` using parameters from leaf parser methods
18
+
* Flatten out typeclass `forContext` methods, putting respective methods that do not require a `Context` instance to create directly on the companion object
18
19
* Create `TypeCreator` class; Change `Quotes`-context associated `Type[_]` from `quotes.Type` to `scpc.TypeCreator`
0 commit comments