Not currently logged in. Login now.

Library

Name:clojure-options
Category:Utility
Subcategory:General
Status:beta
License:Eclipse Public License
Description:
This library provides improved handling for Clojure functions with optional parameters. The library provides the macro defn+opts which defines a function with optional parameters. The syntax is similar to the one of Clojure's defn except that only one function body is allowed.

A documentation string for optional parameters is supported. When a defn+opts function f calls another defn+opts function g and passes its options symbol then the docstring of f will contain information about the optional parameters that can be passed to g.
Date Added:2012-03-20 09:44:10
Date Changed:2012-03-21 10:01:53