Archives
-
Using newLISP’s find-all
newLISP’s find-all utility is exceptionally powerful, especially when coupled with rich matching functions like match, regex, and unify. find-all combines search and substitution into a fast, comprehensive function for extracting data from lists and strings. Submit article
Aug 12th, 2008 | Filed under Programming -
SQL library for newLISP
The newLISP SQL library is a set of classes and functions to ease generation of SQL code in newLISP. The module is not yet feature-complete but is in a usable state. Submit article
Jul 14th, 2008 | Filed under Programming -
Variable-arity functions in Lisp
One of the handier features of modern functional languages like Erlang and OCaml is the use of unification to match arity against function definitions. The ability to define a function in terms of the type and number of arguments passed is both expressive and useful. Submit article
Feb 27th, 2008 | Filed under Programming -
Partial application and currying
Currying, known in Python land as partial application, is a technique in which a function taking multiple arguments composes a function that takes fewer arguments (in most languages, reducing to one, although this is not the case in Python) by partially applying it to given parameters. For example, a function, sum, might be used to [...]
Dec 4th, 2007 | Filed under Programming -
Java from a functional perspective
Not long ago a project required me to learn a little Java. As a long-time elitist functional programmer, I was not extremely excited. Due to the low quality of Java software I have used, I assumed, like many, that Java produced slow, bloated, and buggy software. Some languages just feel clunky. Submit article
Oct 15th, 2007 | Filed under Soap box