Typeclass constraints on data declarations
I haven’t personally come across a desire to constrain the types within data types I’ve created, but it’s not obvious to me why the language designers “decided it was a bad idea to allow”. Why is that? Because it was misleading and worked completely backwards from what would actually be useful. In particular, it didn’t … Read more