19 functor_traits<std::remove_cvref_t<F>>
::fmap;
28 template <
class Fn,
class Fa>
29 constexpr auto operator()(Fn&& fn, Fa&& fa)
const noexcept(
40 template <
class A,
class Fb>
41 constexpr auto operator()(A&& a, Fb&& fb)
const noexcept(
48 inline namespace cpo {
70 inline namespace cpo {
Requires fmap and replace2nd is valid in functor_traits .
Definition: functor.hpp:18
constexpr partial< detail::compose_op > compose
Function composition.
Definition: compose.hpp:35
constexpr partial< detail::fmap_op > fmap
fmap :: (a -> b) -> f a -> f b
Definition: functor.hpp:50
constexpr partial< detail::replace2nd_op > replace2nd
replace2nd :: a -> f b -> f a
Definition: functor.hpp:53
constexpr partial< detail::flip_op > flip
Returns a binary function which flips the first and second argument.
Definition: flip.hpp:32
constexpr auto replace1st
replace1st :: Functor f => f a -> b -> f b
Definition: functor.hpp:78
constexpr auto replace2nd
replace2nd :: a -> f b -> f a
Definition: functor.hpp:65
fmap :: (a -> b) -> f a -> f b
Definition: functor.hpp:27
replace2nd :: a -> f b -> f a
Definition: functor.hpp:39
class Functor f where
Definition: functor.hpp:14
Implements a perfect-forwarding call wrapper.
Definition: partial.hpp:63