ae.utils.functor.composition

Functor composition.

Members

Enums

isFunctor
eponymoustemplate isFunctor(f...)

Check if f is a functor, and can participate in functor composition.

Functions

select
auto select(bool cond, T t, F f)
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

select
template select(Cond, T, F)

The ternary operation using functors.

seq
template seq(Functors...)

The chain operation using functors. Calls all functors in sequence, returns void. (Not to be confused with function composition.)

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>