Misclleneous utility functions and macros in Clojure
Clojure Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
doc
src/clj_miscutil
test
.gitignore
CHANGES.md
README.md
project.clj

README.md

clj-miscutil

This project is an assortment of Clojure functions/macros to carry out miscellaneous common activities. The functions deal with the following:

  • fast string concatenation
  • boolean values
  • var meta data
  • constructing exceptions
  • type conversion/wrapping
  • "not" associated functions
  • array types
  • contains-val? (complement for contains?)
  • exception and stack trace printing
  • assertion helpers
  • type annotation (typed abstraction)
  • keyword to/from string conversion
  • calling methods by reflection
  • java.util.Properties transformation
  • JNDI tree-printing and lookup

Usage

On Clojars: http://clojars.org/clj-miscutil

Leiningen dependency: [clj-miscutil "0.5.0"]

Supported Clojure versions: Clojure versions 1.3 through 1.7

Include the following in your namespace:

(ns example.app
  (:use clj-miscutil.core))

Please check doc directory for documentation.

Building/Installation

You will need Leiningen 2 to build from sources. Execute the following:

$ lein dev test
$ lein all test
$ lein jar
$ lein install

To build documentation you will need to have asciidoc (and optionally, pygments) installed and in PATH. Run this:

$ cd doc
$ ./build-doc.sh

License

Copyright © 2010-2014 Shantanu Kumar

Distributed under the Eclipse Public License, the same as Clojure.

Getting in touch

Email: kumar.shantanu@gmail.com

Twitter: @kumarshantanu

Contributing

File bug reports on Github; fork and send pull requests.