Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Clojure Inflection Library
branch: master

This branch is 245 commits behind r0man:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/inflections
test/inflections/test
.gitignore
COPYING
README.markdown
project.clj

README.markdown

Clojure Inflection Library

Rails-like inflections for Clojure.

Installation

The JAR is available on Clojars. The master branch is targeting Clojure v1.2. Use versions below 0.4 for previous versions.

Documentation

The API documentation is available here.

Examples


user> (use 'inflections.core)
nil
user> (pluralize "word")
"words"
user> (pluralize "virus")
"viri"
user> (singularize "apples")
"apple"
user> (singularize "octopi")
"octopus"
user> (underscore "puni-puni")
"puni_puni"
user> (ordinalize "52")
"52nd"
user> (capitalize "clojure")
"Clojure"

Something went wrong with that request. Please try again.