compLF :: (F a b, Orientation) -> F c d -> F (Either a c) (Either b d) serCompLF :: (F a b, Orientation) -> F c a -> F c b >#+< :: (F a b, Orientation) -> F c d -> F (Either a c) (Either b d) infixl 9 >#+< >#==< :: (F a b, Orientation) -> F c a -> F c b infixl 9 >#==< data Orientation = Above | Below | RightOf | LeftOf instance Eq Orientation instance Ord Orientation
compLF (f1,orient) f2
#
in the name, but they have extra arguments for
specifying layout.
(f1,orient) :: (F a b, Orientation)
orient
is the placement of f1
relative to f2
.
f2 :: F c d
(f1,Above)>#+<f2
(>#+<) = compLF (>#==<) = serCompLF (f1,Above)>#+<f2 = placerF verticalP (f1>+<f2) (f1,Below)>#+<f2 = placerF (revP verticalP) (f1>+<f2) ...
Related combinators: listLF, placerF.
Dynamic Layout.