Data.Bifunctor.Assoc
class Bifunctor p => Assoc p where Source #
"Semigroup-y" Bifunctor s.
Bifunctor
assoc . unassoc = id unassoc . assoc = id assoc . bimap (bimap f g) h = bimap f (bimap g h) . assoc
assoc
unassoc
id
bimap
This library doesn't provide Monoidal class, with left and right unitors. Are they useful in practice?
Monoidal
Methods
assoc :: p (p a b) c -> p a (p b c) Source #
unassoc :: p a (p b c) -> p (p a b) c Source #
Defined in Data.Bifunctor.Assoc
assoc :: Either (Either a b) c -> Either a (Either b c) Source #
unassoc :: Either a (Either b c) -> Either (Either a b) c Source #
assoc :: ((a, b), c) -> (a, (b, c)) Source #
unassoc :: (a, (b, c)) -> ((a, b), c) Source #
assoc :: Const (Const a b) c -> Const a (Const b c) Source #
unassoc :: Const a (Const b c) -> Const (Const a b) c Source #
assoc :: Tagged (Tagged a b) c -> Tagged a (Tagged b c) Source #
unassoc :: Tagged a (Tagged b c) -> Tagged (Tagged a b) c Source #
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル