Safe Haskell | None |
---|---|
Language | Haskell2010 |
- itemized :: forall w a b s t. Itemized w a b s t => w a b -> w s t
- itemized' :: Profunctor w => w a b -> w (Many '[a]) (Many '[b])
- projected :: forall proxy w a1 a2 b1 b2. Projected w a1 a2 b1 b2 => proxy a2 -> w (Many a1) (Many b1) -> w (Many a2) (Many b2)
- (*&&*) :: forall w a1 a2 a3 b1 b2 b3. SelectWith w a1 a2 a3 b1 b2 b3 => w (Many a1) (Many b1) -> w (Many a2) (Many b2) -> w (Many a3) (Many b3)
- (>&&>) :: forall w a a2 b1 b2 b3. ThenSelect w a2 b1 b2 b3 => w a (Many b1) -> w (Many a2) (Many b2) -> w a (Many b3)
- (<&&<) :: ThenSelect w a2 b1 b2 b3 => w (Many a2) (Many b2) -> w a (Many b1) -> w a (Many b3)
Combinators similar to Profunctor Strong
projected :: forall proxy w a1 a2 b1 b2. Projected w a1 a2 b1 b2 => proxy a2 -> w (Many a1) (Many b1) -> w (Many a2) (Many b2) Source #
(*&&*) :: forall w a1 a2 a3 b1 b2 b3. SelectWith w a1 a2 a3 b1 b2 b3 => w (Many a1) (Many b1) -> w (Many a2) (Many b2) -> w (Many a3) (Many b3) infixr 3 Source #
Split the input between the two argument arrows and combine their output.
The type of the resultant input is a Many
of all the unique types in the argument arrows' inputs,
The type of the resultant output is a concatenated Many
of the arguments arrows' outputs.
Analogous to a Many
combination of both of ***
and &&&
.
It is a compile error if the types are not distinct in each of the argument arrow inputs.
(>&&>) :: forall w a a2 b1 b2 b3. ThenSelect w a2 b1 b2 b3 => w a (Many b1) -> w (Many a2) (Many b2) -> w a (Many b3) infixr 3 Source #
Left-to-right chaining of arrows one after another, where left over input not consumed by the right arrow is forwarded to the output. It is a compile error if the types are not distinct in each of the argument arrow inputs, or if the input of the second arrow is not a subset of the output of the first arrow.