Proletariat 0.7.3
Released under the Eclipse Public License
Library of the Commons. A hard-working library of common utilities. GitHub: https://github.com/LiaisonTechnologies/proletariat.
Installation
To install, add the following dependency to your project or build file:
[com.liaison/proletariat "0.7.3"]
Namespaces
proletariat.core
Library of the Commons. A hard-working library of common utilities.
Public variables and functions:
- acat
- bytes->string
- characters?
- chars?
- conj-when
- conjv
- deep-merge
- deep-merge-with
- delete-directory!
- delete-file!
- do-until
- do-while
- dofor
- flatten-map
- flip
- get-host-address
- get-zipper-path
- group-by-with
- instant-generator
- interruptable
- interruptable->ex
- keep-sc
- leap-year?
- map-sc
- named?
- now
- read-edn-resource
- remove-nil-values
- remove-nils
- retry
- retry*
- retry-backoff
- slurp-resource
- sreduce
- thread-name
- to-clj-instant
- uuid
- whoami
- zipper-map
proletariat.fsm
This implementation of an FSM was born out of a desire for a clear way of expressing control flow (including defined error handling to allow for ‘fail-operational’ states) that was missing in other implementations/design patterns. First, an overview of some of the other implementations considered and why they weren’t the right fit:
Public variables and functions:
proletariat.http-client
Provides simplified Aleph HTTP Client builders and utilities
Public variables and functions:
proletariat.json
Provides utilities for working with JSON including an implementation of a clojure.zip zipper geared towards JSON for walking and manipulating the tree.
proletariat.mocks
Utilties for mocking parts of a program for testing different scenarios. Should only be used in unit tests as we are mucking about under the hood.
Public variables and functions: