Replies: 2 comments 2 replies
-
Hi Dan! Sorry for the late reply, I've been really busy these days. Let me try to answer your questions point by point:
Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
This is fantastic, thanks Lionel!
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Thanks for the paper and discussion here--Algebraic Subtyping is very exciting and I'm looking forward to implementing it in my toy language!
I had a few more follow-up questions to that discussion specific to Simple-sub:
let f x = { x with name = "f" } : 'a -> 'a <: {name: string}
. Actually, what would the constraint on'a
look like in this case to ensure it's a record of some kind?Sorry for all the questions and my ignorance (feel free to just point me at the paper or somewhere else), and thanks for your time!
Beta Was this translation helpful? Give feedback.
All reactions