manners.victorian

->Coach

(->Coach f)
Positional factory function for class manners.victorian.Coach.

as-coach

(as-coach & coaching-fns)
Create a coach from the composition of the given functions.

as-memo-coach

(as-memo-coach & coaching-fns)
Like as-coach, but memoize before wrapping with Coach.

avow

(avow prefix etiquette value)(avow etiquette value)
Throw an AssertionError if there are any bad manners found on the given value with
the given validations.

bad-manners

(bad-manners etq value)
Return all bad manners found with the given etiquette on the given value.

coach?

A predicate which checks to see if the given value is a coach. It does this
by seeing if the meta :coach key is true.

defmannerisms

macro

(defmannerisms obj-sym etiquette)
Define helper functions for validating using a consistent etiquette.

etiquette

(etiquette etq)
Create a function from a an etiquette which returns a lazy sequence of bad
manners.

falter

(falter prefix-str bad-manners)(falter bad-manners)
Throw an AssertionError when there are bad manners.

manner

(manner & manner)
Creates a coach from a sequence of coaches and/or predicate message
pairs.

manners

(manners & manners-and-coaches)
Creates a coach from one or more manners or coaches.

memoized-etiquette

A memoized version of etiquette. Note that the coach etiquette returns will
be memoized without using memoized-etiquette.

proper?

(proper? etiquette value)
A predicate to determine if the given value has any bad manners according to the
validations.

rude?

The complement of manners.victorian/proper?.