rwaldhoff 2003/04/01 16:07:41
Modified: functor build.xml
functor/xdocs index.xml
Log:
minor doc cleanup
Revision Changes Path
1.11 +2 -2 jakarta-commons-sandbox/functor/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/functor/build.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- build.xml 4 Mar 2003 12:25:24 -0000 1.10
+++ build.xml 2 Apr 2003 00:07:41 -0000 1.11
@@ -37,7 +37,7 @@
<property name="component.package" value="org.apache.commons.functor"/>
<!-- The title of this component -->
- <property name="component.title" value="Functor - Functions as Objects"/>
+ <property name="component.title" value="Functor - Function Objects for
Java"/>
<!-- The current version number of this component -->
<property name="component.version" value="1.0-dev"/>
1.6 +1 -20 jakarta-commons-sandbox/functor/xdocs/index.xml
Index: index.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/functor/xdocs/index.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- index.xml 13 Mar 2003 01:00:44 -0000 1.5
+++ index.xml 2 Apr 2003 00:07:41 -0000 1.6
@@ -7,30 +7,11 @@
</properties>
<body>
- <section name="Functor: Functions as Objects">
+ <section name="Functor: Function Objects for Java">
<p>
A <em>functor</em> is a function that can be manipulated
as an object.
</p>
-<!--
- <p>
- Functors are a very old and very common software design
- concept, and appear in many languages in many forms. For example,
- functors appear in:
- </p>
- <ul>
- <li>LISP as funargs or closures</li>
- <li>Smalltalk as blocks and closures</li>
- <li>
- functional programming languages such as Prolog, ML, and
- Haskell (<code>functor</code> is even a keyword in Haskell)
- </li>
- <li>C as function pointers</li>
- <li>C++'s Standard Template Library as function objects</li>
- <li>Ruby as blocks</li>
- <li>etc.</li>
- </ul>
--->
<p>
In Java, functors are typically implemented as interfaces defined
by a single, generic member function, and that is the approach taken
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]