<?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: Functors in Java and beyond</title>
	<atom:link href="http://chaoticjava.com/posts/functors-in-java-and-beyond/feed/" rel="self" type="application/rss+xml" />
	<link>http://chaoticjava.com/posts/functors-in-java-and-beyond/</link>
	<description>The internet, design patterns, frameworks and Java</description>
	<lastBuildDate>Sat, 05 Nov 2011 18:39:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Paul</title>
		<link>http://chaoticjava.com/posts/functors-in-java-and-beyond/comment-page-1/#comment-29290</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Fri, 04 Apr 2008 14:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/functors-in-java-and-beyond/#comment-29290</guid>
		<description>Great post.  For some useful functors check out the commons collections project.  It has a functors package with includes Predicates, Closures, and Transformers.  http://commons.apache.org/collections/api-release/org/apache/commons/collections/functors/package-summary.html</description>
		<content:encoded><![CDATA[<p>Great post.  For some useful functors check out the commons collections project.  It has a functors package with includes Predicates, Closures, and Transformers.  <a href="http://commons.apache.org/collections/api-release/org/apache/commons/collections/functors/package-summary.html" rel="nofollow">http://commons.apache.org/collections/api-release/org/apache/commons/collections/functors/package-summary.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avah</title>
		<link>http://chaoticjava.com/posts/functors-in-java-and-beyond/comment-page-1/#comment-25955</link>
		<dc:creator>Avah</dc:creator>
		<pubDate>Thu, 28 Feb 2008 11:34:58 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/functors-in-java-and-beyond/#comment-25955</guid>
		<description>Kit: Thanks for all the information! I will take all of this into account when writing more about functors, as I have more to say about them.</description>
		<content:encoded><![CDATA[<p>Kit: Thanks for all the information! I will take all of this into account when writing more about functors, as I have more to say about them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web 2.0 Announcer</title>
		<link>http://chaoticjava.com/posts/functors-in-java-and-beyond/comment-page-1/#comment-25876</link>
		<dc:creator>Web 2.0 Announcer</dc:creator>
		<pubDate>Wed, 27 Feb 2008 10:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/functors-in-java-and-beyond/#comment-25876</guid>
		<description>&lt;strong&gt;Functors in Java and beyond&lt;/strong&gt;

[...]Functors are defined as a function encapsulated in an object. In most cases, the functionâ€™s parameters can be set and the result retrieved using the common accessor pattern, such as setParameter1(Object value) or getResult(). The fact that these...</description>
		<content:encoded><![CDATA[<p><strong>Functors in Java and beyond</strong></p>
<p>[...]Functors are defined as a function encapsulated in an object. In most cases, the functionâ€™s parameters can be set and the result retrieved using the common accessor pattern, such as setParameter1(Object value) or getResult(). The fact that these&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kit Davies</title>
		<link>http://chaoticjava.com/posts/functors-in-java-and-beyond/comment-page-1/#comment-25875</link>
		<dc:creator>Kit Davies</dc:creator>
		<pubDate>Wed, 27 Feb 2008 09:57:49 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/functors-in-java-and-beyond/#comment-25875</guid>
		<description>Good post.
&quot;Functions as objects&quot; (or more precisely &quot;functions as first-class types&quot;) is exactly the basis for functional programming, eg. Haskell, Lisp, Erlang et al. So yes function composition using functors is going to look similar to the same in Haskell or any FP language. 
Also possible would be supplying a single parameter to a binary functor to produce a new reusable unary functor with the parameter already &quot;baked in&quot;. This gives you currying.
Also look at map/reduce. This applies &quot;map&quot; functors to a list to produce new lists, and &quot;reduce&quot; functors to the new lists to produce some kind of cumulative result for each new list. The key benefit being that given appropriate partioning of the initial list, the mapping and reducing functors can operate in parallel, hence the much vaunted scalability of the map/reduce model.
Interestingly Scala is a language that aims to provide a combination of FP and OO on the JVM. If this is an area of interest, I suggest you look there also.
Finally (phew) FunctionalJ is another library for doing FP in pure Java.

Regards
Kit</description>
		<content:encoded><![CDATA[<p>Good post.<br />
&#8220;Functions as objects&#8221; (or more precisely &#8220;functions as first-class types&#8221;) is exactly the basis for functional programming, eg. Haskell, Lisp, Erlang et al. So yes function composition using functors is going to look similar to the same in Haskell or any FP language.<br />
Also possible would be supplying a single parameter to a binary functor to produce a new reusable unary functor with the parameter already &#8220;baked in&#8221;. This gives you currying.<br />
Also look at map/reduce. This applies &#8220;map&#8221; functors to a list to produce new lists, and &#8220;reduce&#8221; functors to the new lists to produce some kind of cumulative result for each new list. The key benefit being that given appropriate partioning of the initial list, the mapping and reducing functors can operate in parallel, hence the much vaunted scalability of the map/reduce model.<br />
Interestingly Scala is a language that aims to provide a combination of FP and OO on the JVM. If this is an area of interest, I suggest you look there also.<br />
Finally (phew) FunctionalJ is another library for doing FP in pure Java.</p>
<p>Regards<br />
Kit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avah</title>
		<link>http://chaoticjava.com/posts/functors-in-java-and-beyond/comment-page-1/#comment-25865</link>
		<dc:creator>Avah</dc:creator>
		<pubDate>Wed, 27 Feb 2008 06:53:25 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/functors-in-java-and-beyond/#comment-25865</guid>
		<description>ryan: Interesting. I didn&#039;t go into Haskell at all, but I know that many languages has a &quot;functions as objects&quot; feature; interesting to find that some languages actually have a function composition feature built into it. 

I&#039;ll read more about it and see how it relates to functors and their compositions.

Thanks!</description>
		<content:encoded><![CDATA[<p>ryan: Interesting. I didn&#8217;t go into Haskell at all, but I know that many languages has a &#8220;functions as objects&#8221; feature; interesting to find that some languages actually have a function composition feature built into it. </p>
<p>I&#8217;ll read more about it and see how it relates to functors and their compositions.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryan</title>
		<link>http://chaoticjava.com/posts/functors-in-java-and-beyond/comment-page-1/#comment-25823</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Tue, 26 Feb 2008 18:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://chaoticjava.com/posts/functors-in-java-and-beyond/#comment-25823</guid>
		<description>Is it just me, or is this similar to function composition in Haskell?</description>
		<content:encoded><![CDATA[<p>Is it just me, or is this similar to function composition in Haskell?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

