Skip to content

Commit 6716ac4

Browse files
committed
Scala 3 type lambda syntax
1 parent cba3f41 commit 6716ac4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

future/shared/src/main/scala/org/atnos/eff/FutureInterpretation.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ trait FutureInterpretation extends FutureTypes {
2323
final def futureAttempt[R, A](e: Eff[R, A])(using TimedFuture /= R): Eff[R, Either[Throwable, A]] =
2424
interpret.interceptNatM[R, TimedFuture, Either[Throwable, *], A](
2525
e,
26-
new (TimedFuture ~> ({ type l[a] = TimedFuture[Either[Throwable, a]] })#l) {
26+
new (TimedFuture ~> ([a] =>> TimedFuture[Either[Throwable, a]])) {
2727
override def apply[X](fa: TimedFuture[X]): TimedFuture[Either[Throwable, X]] = attempt(fa)
2828
}
2929
)

0 commit comments

Comments
 (0)