On Sun, Feb 15, 2009 at 11:09 AM, Tillmann Rendel <span dir="ltr">&lt;<a href="mailto:rendel@cs.au.dk">rendel@cs.au.dk</a>&gt;</span> wrote:<br><div class="gmail_quote"><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 wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Came up with an alternative to the container metaphor for functors that you<br>
might find amusing: &nbsp;<a href="http://syntax.wikidot.com/blog:9" target="_blank">http://syntax.wikidot.com/blog:9</a><br>
</blockquote>
<br></div>
You seem to describe Bifunctors (two objects from one category are mapped to one object in another category), but Haskell&#39;s Functor class is about Endofunctors (one object in one category is mapped to an object in the same category). Therefore, your insistence on the alien </blockquote>
<div><br>Yeah, it needs work, but close enough for a sketch.&nbsp; BTW, I&#39;m not talking about Haskell&#39;s Functor class, I guess I should have made that clear.&nbsp; I&#39;m talking about category theory, as the semantic framework for thinking about Haskell.<br>
&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">universe being totally different from our own is somewhat misleading, since in Haskell, we are specifically dealing with the case that the alien universe is just our own.<br>

</blockquote><div><br>The idea is that each type (category) is a distinct universe.&nbsp; The essential point about functors cross boundaries from one category to another. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Moreover, you are mixing in the subject of algebraic data types (all we know about (a, b) is that (,), fst and snd exist).<br>
</blockquote><div><br>It&#39;s straight out of category theory.&nbsp; See Pierce <a href="http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&amp;tid=7986">http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&amp;tid=7986</a><br>
&nbsp;<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Personally, I do not see why one should explain something easy like functors in terms of something complicated like quantum entanglement.<br><font color="#888888">
</font></blockquote><div><br>The metaphor is action-at-a-distance.&nbsp; Quantum entanglement is a vivid way of conveying it since it is so strange, but true.&nbsp; Obviously one is not expected to understand quantum entanglement, only the idea of two things linked &quot;invisibly&quot; across a boundary.<br>
</div></div><br>