mpc
Haskell-like feature supports in C++
mpc::detail::getss_op< ST > Struct Template Reference

getss :: MonadState s m => (s -> a) -> m a More...

#include <class.hpp>

Classes

struct  closure
 

Public Member Functions

template<class Fn >
constexpr auto operator() (Fn &&f) const noexcept(noexcept(mpc::state< ST >(partial(closure{}, std::forward< Fn >(f))))) -> decltype(mpc::state< ST >(partial(closure{}, std::forward< Fn >(f))))
 

Detailed Description

template<class ST>
struct mpc::detail::getss_op< ST >

getss :: MonadState s m => (s -> a) -> m a


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