dazzledbeans @lemmy.world to Programmer Humor@lemmy.ml · 1 year agoWith PieMixinlemmy.worldimagemessage-square29fedilinkarrow-up1599arrow-down114cross-posted to: [email protected]
arrow-up1585arrow-down1imageWith PieMixinlemmy.worlddazzledbeans @lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square29fedilinkcross-posted to: [email protected]
minus-squareUFOlinkfedilinkarrow-up16·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…