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

discard1st :: f a -> f b -> f b More...

#include <applicative.hpp>

Public Member Functions

template<class Fa , class Fb >
constexpr auto operator() (Fa &&fa, Fb &&fb) const noexcept(noexcept(applicative_traits< std::remove_cvref_t< Fa > >::discard1st(std::forward< Fa >(fa), std::forward< Fb >(fb)))) -> decltype(applicative_traits< std::remove_cvref_t< Fa > >::discard1st(std::forward< Fa >(fa), std::forward< Fb >(fb)))
 

Detailed Description

discard1st :: f a -> f b -> f b

(*>) in Haskell


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