Re:Types versus sets in math and programming languages
by mjburgess on Sunday July 25, 2021 @10:42AM
(#27949497)
You're downvoted, but what you've said is basically the point-of and conclusion-to the article.
`N` denotes a set and `Natural` denotes a type, and one cannot be eliminated to the other in all contexts of use.
{1,2} ⊆ Natural
as the right side looks like a type name rather than a value . Haskell helps to maintain the distinction by using capitals for type names and lower case for variable names.
I would seem natural to write: