mpc
Haskell-like feature supports in C++
mpc::detail::fmap_op Struct Reference

fmap :: (a -> b) -> f a -> f b More...

#include <functor.hpp>

Public Member Functions

template<class Fn , class Fa >
constexpr auto operator() (Fn &&fn, Fa &&fa) const noexcept(noexcept(functor_traits< std::remove_cvref_t< Fa > >::fmap(std::forward< Fn >(fn), std::forward< Fa >(fa)))) -> decltype(functor_traits< std::remove_cvref_t< Fa > >::fmap(std::forward< Fn >(fn), std::forward< Fa >(fa)))
 

Detailed Description

fmap :: (a -> b) -> f a -> f b


The documentation for this struct was generated from the following file: