Haskell - Arbitrary-rank polymorphism with RankNTypes
Start
Arbitrary-rank polymorphism with RankNTypes
GHC’s type system supports arbitrary-rank explicit universal quantification in types through the use of the Rank2Types and RankNTypes language extensions.