|
mpc
Haskell-like feature supports in C++
|
Methods deducible from other methods of applicative . More...
Variables | |
| constexpr partial< detail::fmap_op > | fmap {} |
| fmap :: (a -> b) -> f a -> f b More... | |
| constexpr auto | seq_apply = mpc::liftA2 % identity |
| seq_apply :: f (a -> b) -> f a -> f b More... | |
| constexpr partial< detail::liftA2_op > | liftA2 {} |
| liftA2 :: (a -> b -> c) -> f a -> f b -> f c More... | |
| constexpr auto | discard2nd = mpc::liftA2 % constant |
| discard2nd :: f a -> f b -> f a More... | |
| constexpr auto | discard1st = mpc::liftA2 % (flip % constant) |
| discard1st :: f a -> f b -> f b More... | |
| constexpr partial< detail::discard1st_opt_op > | discard1st_opt {} |
| discard1st :: f a -> f b -> f b More... | |
Methods deducible from other methods of applicative .
|
inlineconstexpr |
discard1st :: f a -> f b -> f b
(*>) in Haskell
|
inlineconstexpr |
discard1st :: f a -> f b -> f b
(*>) in Haskell
Use this method if you have an optimized replace2nd.
|
inlineconstexpr |
discard2nd :: f a -> f b -> f a
(<*) in Haskell
|
inlineconstexpr |
fmap :: (a -> b) -> f a -> f b
|
inlineconstexpr |