pandora-0.3.1: A box of patterns and paradigms
Pandora.Paradigm.Structure.Binary
Contents
type Binary = Maybe <:.> Construction Wye Source #
rebalance :: Chain a => ((Wye :. Construction Wye) := a) -> Nonempty Binary a Source #
can_be_empty :: Maybe (Construction Wye a) :-. Binary a Source #
Methods
insert :: a -> Binary a -> Binary a Source #
insert :: a -> Construction Wye a -> Construction Wye a Source #
Associated Types
type Substructural Left Binary a :: Type Source #
substructure :: Tagged Left (Binary a) :-. Substructural Left Binary a Source #
type Substructural Right Binary a :: Type Source #
substructure :: Tagged Right (Binary a) :-. Substructural Right Binary a Source #
type Focusing Root Binary a :: Type Source #
focusing :: Tagged Root (Binary a) :-. Focusing Root Binary a Source #
type Substructural Left (Construction Wye) a :: Type Source #
substructure :: Tagged Left (Construction Wye a) :-. Substructural Left (Construction Wye) a Source #
type Substructural Right (Construction Wye) a :: Type Source #
substructure :: Tagged Right (Construction Wye a) :-. Substructural Right (Construction Wye) a Source #
type Focusing Root (Construction Wye) a :: Type Source #
focusing :: Tagged Root (Construction Wye a) :-. Focusing Root (Construction Wye) a Source #