newsFunctionals Library for Java - News

 
 
Show feedback again
Print summaries for the latest news.

Latest News Approved - With Summaries
Shifted from lazy lists to iterators
     posted by dauclair, Thu 08 May 2003 05:41:08 AM UTC - 0 replies

The functional library had a lazy list implementation to facilitate dealing with infinite lists and lazy (vice eager) programming. Field testing this library, however, indicated that java.util.Iterator was just as effective and less buggy to boot, so the library now uses iterators.

Commented out the logical framework, lazy lists, the tests, and a-lists, as they all depend on lazy lists. ... As I convert those packages from lazy lists to iterators, they will become part of the build again.

The Beginnings of a Logical Framework
     posted by dauclair, Sun 19 Jan 2003 04:16:55 AM UTC - 0 replies

I have added functionality that provides a function test to function dispatch map. This will be familiar to those who have worked with Prolog -- one builds a series of predicates (all of the same name) with different activation criteria. This ...


[Read more]
Association Lists
     posted by dauclair, Sun 19 Jan 2003 04:10:50 AM UTC - 0 replies

Added the association list type to the lists package. Association lists are lists of pairs (tuples) that allow for many-to-many mappings between keys and values. Association lists can be looked on as a list representation of multimaps, so this implementation makes it my third programming language for which I've implemented (or fixed) the multimap collection type.

Ant build.xml Script In Place
     posted by dauclair, Tue 10 Dec 2002 02:39:08 AM UTC - 0 replies

I've added a wrapper to the lambda parser system (lambda.lattice) that interprets command-line arguments and performs the appropriate parser commands therefrom. I've also created an ant build.xml file that compiles the entire system with two commands: 'ant' and 'ant deliver'. Very nice.

Improved Lazy Lists
     posted by dauclair, Sat 30 Nov 2002 11:18:52 AM UTC - 0 replies

Lazy lists are now constructed from various sources: functionally via unfold or from a base collection or iteration. One may now also map or filter lazily on lazy lists. This allows (e.g.) iterating over the natural numbers (with unfold(identity, ...


[Read more]
Lazy Lists
     posted by dauclair, Mon 25 Nov 2002 08:56:56 AM UTC - 0 replies

Added the first deliverable cut of lazy lists. Initially build a delay-force pair (as per Scheme), but this got in the way of the system, so fell back onto functionals to delay the value until needed and put the handling logic into LazyList itself.

LazyList is not yet a java.util.List. That will come on the next delivery.

List/String operations
     posted by dauclair, Wed 20 Nov 2002 08:41:48 AM UTC - 1 reply

Added the list constructor ([1, 2, 4, 5 + 7, elt]), append (list1 ++ list2), and insert-at-head (elt:list) operations to the lambda grammar.

Append should also work with Strings, but that functionality and parsing capability is in a very alpha state.

Added copious documentation into manual.html (in the sources under doc/).

Higher-Order Function Constructors
     posted by dauclair, Tue 19 Nov 2002 06:15:07 AM UTC - 0 replies

I've added higher-order function constructors (see NEWS rotd-2002-11-18 for details). This allows combining lambda terms using syntax much like the one designed for functor creation. Fn is now pared down, as some of its methods are now class fields in FnObject, FnCompare, and FnMath, and the new syntax takes care of the rest. Fn is now mostly iteration methods.

Integrated Lambda Terms
     posted by dauclair, Mon 18 Nov 2002 07:12:46 AM UTC - 0 replies

I have integrated the grammar for lambda terms into the rest of Java. I append .latte to such files. The README and INSTALL have instructions on how to build the scanner/parser and how to compile .latte files. These sources also include several common examples of functors, such as, add, subtract, eq, lt, ge, etc.

Initial sources up
     posted by dauclair, Wed 13 Nov 2002 06:22:25 AM UTC - 0 replies

The sources of version 1.0 of the functionals library for Java is now availabe from the CVS repository. I am currently working on uploading a tarball to include javadocs and a JAR file.

Show feedback again

Back to the top


Powered by Savane 3.1-cleanup