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

modify :: MonadState s m => (s -> s) -> m () 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::modify_op< ST >

modify :: MonadState s m => (s -> s) -> m ()


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