<div class="gmail_quote">On Mon, Feb 2, 2009 at 2:25 PM, Ketil Malde <span dir="ltr">&lt;<a href="mailto:ketil@malde.org">ketil@malde.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Gregg Reynolds &lt;<a href="mailto:dev@mobileink.com">dev@mobileink.com</a>&gt; writes:<br>
<br>
</div><div class="Ih2E3d">&gt; Just shorthand for something like &quot;data Tcon a = Dcon a&quot;, applied to Int.<br>
&gt; Any data constructor expression using an Int will yield a value of type Tcon<br>
&gt; Int.<br>
<br>
</div>Right. &nbsp;But then the set of values is isomorphic to the set of Ints,<br>
right?<br>
<div class="Ih2E3d"></div></blockquote><div><br>The values constructed by that particular constructor, yes; good point.&nbsp; Isomorphic, but not the same.&nbsp; (And also, if we have a second constructor, what&#39;s our cardinality?&nbsp; The first one &quot;uses up&quot; all the integers, no?&nbsp; Since we can define &quot;aleph&quot; constructors, each of which can yield &quot;aleph&quot; values, well that&#39;s a lot of values.)<br>
&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
&gt;&gt; I don&#39;t follow this argument. &nbsp;Are you saying you can remove a<br>
&gt;&gt; data constructor from a type, and still have the same type? &nbsp;And<br>
&gt;&gt; because of this, the values of the type do not constitute a set?<br>
<br>
&gt; Yep.<br>
<br>
</div>I don&#39;t see why you would consider it the same type. &nbsp;Since, given any<br>
two data types, I could remove all the data constructors, this would<br>
make them, and by extension, all types the same, wouldn&#39;t it?<br>
</blockquote></div><br>I don&#39;t think so; considered as sets, they have different intensions, and considered as predicates, they&#39;re clearly distinct even if there are no objects.&nbsp; Different names (descriptions), different things, unless we declare they are equal.<br>
<br>You would probably find &quot;When is one thing equal to another thing&quot;, by Barry Mazur (at <a href="http://www.math.harvard.edu/%7Emazur/">http://www.math.harvard.edu/~mazur/</a>).&nbsp; A fascinating discussion of equality in the context of category theory.&nbsp; See also &quot;On Sense and Intension&quot; at <a href="http://consc.net/papers.html">http://consc.net/papers.html</a><br>
<br>-gregg<br>