What is generativity of Type->Type functions?
tl;dr (hopefully) While writing the question below, I think I've come up with a simpler way to ask it. Assume this senario: you've never seen Maybe in Haskell before, so you don't know it's generative, you're given two entities of kind Type -> Type, one called Maybe and one called Optional, and you are told they are two synonyms to all intent and purposes, but that one of them is generative and the other is not. How would you tell which one is which? Is the only way to tell them apart to pass them unsaturated to a function f accepting Type -> Type and see which one compiles? (Or any other tric
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.