What are Types? Kinds? Constraints? Propositions? Are these always values?
c.f. reflection macros, where types are values. But having said that, one person's compiletime is the next person's runtime!
-
-
I think it's nicer when types and kinds can be manipulated with the same operational semantics (and even syntax!) we use for normal values. Haskell at least now has DataKinds. Scala had path-dependent types since very early, but it's really bulky to use.
-
Yes, but the more freedom you have to manipulate them arbitrarily, the less freedom you have to reason about them quickly... it's definitely a trade-off! :)
- Show replies
New conversation -
-
-
Is it really types as values? I though it was much more AST as value.
-
You get types as values, too.
End of conversation
New conversation -
-
-
That's only a issue for scala afaik.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.