Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::category::IsRightAction Concept Referenceexport

H is a right action \(M \times S \to M\) of the monoid (S, Op) that acting_monoid<H> names: M is a right S-set (Mac Lane and Moerdijk), an S-act (Kilp, Knauer and Mikhalev, Monoids, Acts and Categories). A left action is a right action of the opposite, Opposite<Op>. More...

Concept definition

template<typename H, typename M, typename S>
std::invocable<const H&, M, S> &&
requires(const H& h, M v, S s) {
{ h(std::move(v), std::move(s)) } -> std::convertible_to<M>;
} && requires { typename acting_monoid<std::remove_cvref_t<H>>::type; } &&
IsMonoid<S, typename acting_monoid<std::remove_cvref_t<H>>::type>
H is a right action of the monoid (S, Op) that acting_monoid<H> names: M is a right S-set (Mac Lane ...
Definition action.cppm:282

Detailed Description

H is a right action \(M \times S \to M\) of the monoid (S, Op) that acting_monoid<H> names: M is a right S-set (Mac Lane and Moerdijk), an S-act (Kilp, Knauer and Mikhalev, Monoids, Acts and Categories). A left action is a right action of the opposite, Opposite<Op>.

Template Parameters
Hthe action.
Mwhat it acts on.
Sthe monoid.