MCL
Minimalistic Color Library
 All Classes Files
endomorphism.hh File Reference
+ Include dependency graph for endomorphism.hh:
+ This graph shows which files directly or indirectly include this file:

Classes

struct  Monoid< Endomorphism< T > >
 

Typedefs

template<typename T >
using Endomorphism = std::function< T(T const &)>
 

Functions

template<typename T >
Endomorphism< T > compose (const Endomorphism< T > &f, const Endomorphism< T > &g)
 
template<typename T >
id (T const &x)
 
template<typename T >
operator| (T const &x, const Endomorphism< T > &f)
 
template<typename T >
Endomorphism< T > operator, (const Endomorphism< T > &f, const Endomorphism< T > &g)