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

discard2nd :: f a -> f b -> f a 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 > >::discard2nd(std::forward< Fa >(fa), std::forward< Fb >(fb)))) -> decltype(applicative_traits< std::remove_cvref_t< Fa > >::discard2nd(std::forward< Fa >(fa), std::forward< Fb >(fb)))
 

Detailed Description

discard2nd :: f a -> f b -> f a

(<*) in Haskell


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