uulib-0.9.23: Haskell Utrecht Tools Library

Safe HaskellSafe
LanguageHaskell98

UU.Util.PermTree

Documentation

data Perms p a Source #

Constructors

Choice (Maybe a) [Branch p a] 
Instances
Functor (Perms p) Source # 
Instance details

Defined in UU.Util.PermTree

Methods

fmap :: (a -> b) -> Perms p a -> Perms p b #

(<$) :: a -> Perms p b -> Perms p a #

data Branch p a Source #

Constructors

Br (p x) (Perms p (x -> a)) 
Instances
Functor (Branch p) Source # 
Instance details

Defined in UU.Util.PermTree

Methods

fmap :: (a -> b) -> Branch p a -> Branch p b #

(<$) :: a -> Branch p b -> Branch p a #

add :: Maybe a -> p a -> Perms p (a -> b) -> Perms p b Source #

empty :: a -> Perms p a Source #

(<$$>) :: (a -> b) -> p a -> Perms p b Source #

(<$?>) :: (a -> b) -> (a, p a) -> Perms p b Source #

(<||>) :: Perms p (a -> b) -> p a -> Perms p b Source #

(<|?>) :: Perms p (a -> b) -> (a, p a) -> Perms p b Source #