mpc
Haskell-like feature supports in C++
operations.hpp File Reference
#include <functional>
#include <mpc/functional/partial.hpp>

Go to the source code of this file.

Namespaces

namespace  mpc::cpo
 Customization point objects are here.
 

Variables

constexpr partial< std::plus<> > mpc::cpo::plus
 Partially applicable std::plus<>.
 
constexpr partial< std::minus<> > mpc::cpo::minus
 Partially applicable std::minus<>.
 
constexpr partial< std::multiplies<> > mpc::cpo::multiplies
 Partially applicable std::multiplies<>.
 
constexpr partial< std::divides<> > mpc::cpo::divides
 Partially applicable std::divides<>.
 
constexpr partial< std::modulus<> > mpc::cpo::modulus
 Partially applicable std::modulus<>.
 
constexpr partial< std::negate<> > mpc::cpo::negate
 Partially applicable std::negate<>.
 
constexpr partial< std::ranges::equal_to > mpc::cpo::equal_to
 Partially applicable std::ranges::equal_to.
 
constexpr partial< std::ranges::not_equal_to > mpc::cpo::not_equal_to
 Partially applicable std::ranges::not_equal_to.
 
constexpr partial< std::ranges::greater > mpc::cpo::greater
 Partially applicable std::ranges::greater.
 
constexpr partial< std::ranges::less > mpc::cpo::less
 Partially applicable std::ranges::less.
 
constexpr partial< std::ranges::greater_equal > mpc::cpo::greater_equal
 Partially applicable std::ranges::greater_equal.
 
constexpr partial< std::ranges::less_equal > mpc::cpo::less_equal
 Partially applicable std::ranges::less_equal.
 
constexpr partial< std::logical_and<> > mpc::cpo::logical_and
 Partially applicable std::logical_and<>.
 
constexpr partial< std::logical_or<> > mpc::cpo::logical_or
 Partially applicable std::logical_or<>.
 
constexpr partial< std::logical_not<> > mpc::cpo::logical_not
 Partially applicable std::logical_not<>.
 
constexpr partial< std::bit_and<> > mpc::cpo::bit_and
 Partially applicable std::bit_and<>.
 
constexpr partial< std::bit_or<> > mpc::cpo::bit_or
 Partially applicable std::bit_or<>.
 
constexpr partial< std::bit_xor<> > mpc::cpo::bit_xor
 Partially applicable std::bit_xor<>.
 
constexpr partial< std::bit_not<> > mpc::cpo::bit_not
 Partially applicable std::bit_not<>.