concrete-optics.common

Utility functions.

capability-set

Full set of available capabilities.

classify

(classify optic)

Assumes that the input is a lawful optic and determines its kind looking at the capabilities it posseses.

get-capability

(get-capability capability optic)

Utility function to access a capabiity. If the capability is not present then the function throws an exception.