<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Nobody *ever* uses map, et. alÃ¢â‚¬Â¦ (example 2)</title>
	<atom:link href="http://adams.id.au/blog/2008/07/nobody-ever-uses-map-et-al%e2%80%a6-example-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://adams.id.au/blog/2008/07/nobody-ever-uses-map-et-al%e2%80%a6-example-2/</link>
	<description>Technology, mountain biking, politics &#38; music.</description>
	<pubDate>Fri, 30 Jul 2010 06:30:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tony Morris</title>
		<link>http://adams.id.au/blog/2008/07/nobody-ever-uses-map-et-al%e2%80%a6-example-2/comment-page-1/#comment-163</link>
		<dc:creator>Tony Morris</dc:creator>
		<pubDate>Sat, 19 Jul 2008 23:06:46 +0000</pubDate>
		<guid isPermaLink="false">http://adams.id.au/blog/?p=137#comment-163</guid>
		<description>The term map comes from the notion of a functor (Category Theory). Here is the true signature for map:

(x -&gt; y) -&gt; Fx -&gt; Fy

Remember that -&gt; is right associative, so:

(x -&gt; y) -&gt; (Fx -&gt; Fy)

"Takes a transformation x to y and 'lifts' it into an environment F". Functors are in very common use in programming  (just for different values of F) whether they are explicitly coded that way or not. Function composition being quite possibly the most common - how often do you compose 2 functions?

Interestingly, this is why Haskell's lambdabot will @pl your equation to use lots of (.) which denotes functor map (it is not specialised to composition in lambdabot).

Assume the position, "the Python kids have no clue what they are doing" and everything starts to make a lot of sense ;)</description>
		<content:encoded><![CDATA[<p>The term map comes from the notion of a functor (Category Theory). Here is the true signature for map:</p>
<p>(x -&gt; y) -&gt; Fx -&gt; Fy</p>
<p>Remember that -&gt; is right associative, so:</p>
<p>(x -&gt; y) -&gt; (Fx -&gt; Fy)</p>
<p>&#8220;Takes a transformation x to y and &#8216;lifts&#8217; it into an environment F&#8221;. Functors are in very common use in programming  (just for different values of F) whether they are explicitly coded that way or not. Function composition being quite possibly the most common - how often do you compose 2 functions?</p>
<p>Interestingly, this is why Haskell&#8217;s lambdabot will @pl your equation to use lots of (.) which denotes functor map (it is not specialised to composition in lambdabot).</p>
<p>Assume the position, &#8220;the Python kids have no clue what they are doing&#8221; and everything starts to make a lot of sense <img src='http://adams.id.au/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Neale</title>
		<link>http://adams.id.au/blog/2008/07/nobody-ever-uses-map-et-al%e2%80%a6-example-2/comment-page-1/#comment-162</link>
		<dc:creator>Michael Neale</dc:creator>
		<pubDate>Tue, 08 Jul 2008 04:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://adams.id.au/blog/?p=137#comment-162</guid>
		<description>Interestingly, in Python3000 they are kinda deprecating map().

They would rather people use for comprehensions (which are very like scalas). So its not that they don't like the functional aspect...

still it confuses me, map seems like such an intuitive thing to want to do in a very human sense. Maybe its the word "map" that has been overloaded.</description>
		<content:encoded><![CDATA[<p>Interestingly, in Python3000 they are kinda deprecating map().</p>
<p>They would rather people use for comprehensions (which are very like scalas). So its not that they don&#8217;t like the functional aspect&#8230;</p>
<p>still it confuses me, map seems like such an intuitive thing to want to do in a very human sense. Maybe its the word &#8220;map&#8221; that has been overloaded.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
