mpc
Haskell-like feature supports in C++
|
#include <class.hpp>
Classes | |
struct | closure |
Public Member Functions | |
template<class T > | |
constexpr auto | operator() (T &&t) const noexcept(noexcept(mpc::state< ST >(partial(closure{}, std::forward< T >(t))))) -> decltype(mpc::state< ST >(partial(closure{}, std::forward< T >(t)))) |
put :: s -> m () put s = state (_ -> ((), s))