dazzledbeans @lemmy.world to Programmer Humor@lemmy.ml · 2 years agoWith PieMixinlemmy.worldimagemessage-square24fedilinkarrow-up1422arrow-down17
arrow-up1415arrow-down1imageWith PieMixinlemmy.worlddazzledbeans @lemmy.world to Programmer Humor@lemmy.ml · 2 years agomessage-square24fedilink
minus-squareUFO@programming.devlinkfedilinkarrow-up5·edit-22 years 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…