Data.Vector.Persistent.Internal.CoercibleUtils
(#.) :: Coercible b c => (b -> c) -> (a -> b) -> a -> c infixr 9 Source #
Coercive left-composition.
>>> (All #. not) True All {getAll = False}
>>>
(All #. not) True
The semantics with respect to bottoms are:
p #. ⊥ ≡ ⊥ p #. f ≡ p . f
#.
.
(.#) :: Coercible a b => (b -> c) -> (a -> b) -> a -> c infixr 9 Source #
Coercive right-composition.
>>> (stimes 2 .# Product) 3 Product {getProduct = 9}
(stimes 2 .# Product) 3
⊥ .# p ≡ ⊥ f .# p ≡ p . f
.#