Senkoukura Fūjin
 
 
type HAlgebra[F[_[_], _], G[_]] = F[G, ?] ~> Gdef hCata[F[_[_], _], G[_], I](alg: HAlgebra[F, G],hfix: HFix[F, I])(implicit F: HFunctor[F]): G = {
val inner = hfix.unfix
val nt = F.hmap(
new (HFix[F, ?] ~> G) {
def apply[A](fa: HFix[F, A]): G[A] = hCata(alg, fa)
}
)(inner)
alg(nt)
}
Momenteel offline
Opmerkingen
stk 28 mei 2016 om 2:11 
boo boo boo
BRUH 8 sep 2015 om 0:00 
-1 rep , bad player.