What is predicativity?

The central question of these type systems is: “Can you substitute a polymorphic type in for a type variable?”. Predicative type systems are the no-nonsense schoolmarm answering, “ABSOLUTELY NOT”, while impredicative type systems are your carefree buddy who thinks that sounds like a fun idea and what could possibly go wrong? Now, Haskell muddies the … Read more