#Haskell
« #Functor and #Bifunctor are both in #base, but what about #Trifunctor? #Quadrifunctor? There must be a better solution than creating an infinite tower of #typeclasses. Here's the #API I managed to implement »
https://gelisam.blogspot.com/2017/12/n-ary-functors.html
#TypeInType
#haskell #functor #bifunctor #base #trifunctor #quadrifunctor #typeclasses #api #typeintype