dazzledbeans to Programmer [email protected] • 1 year agoWith PieMixinimagemessage-square26arrow-up1612arrow-down113
arrow-up1599arrow-down1imageWith PieMixindazzledbeans to Programmer [email protected] • 1 year agomessage-square26
minus-squareUFOlinkfedilink16•edit-21 year agoIn Scala: case class Fix[F[_]](unfix: F[Fix[F]]) case class Pie[T](filling: T) def ohNo: Fix[Pie] = Fix(Pie(ohNo))
In Scala:
case class Fix[F[_]](unfix: F[Fix[F]]) case class Pie[T](filling: T) def ohNo: Fix[Pie] = Fix(Pie(ohNo))
Type erasure sure does go brr…