A Clojure library utility functions that can be called from either a Clojure or Clojurescript application.
Add the following dependency to your project.clj
file:
[nicheware/cljc-common "1.0.0"]
The functions within the cljc-common library are categorized by namespace as follows:
Namespace | Description |
---|---|
core | Functions that complement those in clojure.core, operating on the main clojure collections. |
math | Simple mathematical functions and functions dealing with floats. |
graphics | Functions useful in graphics and drawing calculations. |
graphics.color | Functions for color calculations and color model conversions. |
graphics.line | Simple line equation and point on line functions. |
graphics.interpolate | Functions for performing interpolation between points and control points. |
state.migration | Functions for migrating Clojure maps, used to represent application state, between state versions. |
version | Functions dealing with references to assets/data and historic versions of assets/data. |
config | Functions to support using edn files for global and environment specific configuration. |
See the API Docs for complete descriptions of each namespace and each function.
Unit tests exist for every function in the library and can also be a useful source for usage examples.
- nicheware/clj-guidelines: Clojure coding style guidelines adopted by this library.
- funcool/Promesa: A promise library for Clojure and ClojureScript, used to return async values in the config namespace.
Copyright © 2018 Nicheware Solutions Pty Ltd
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version, the same as Clojure.