Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
Eq Pane Source # | |
Data Pane Source # | |
Defined in Chiasma.Ui.Data.View gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Pane -> c Pane # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Pane # dataTypeOf :: Pane -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Pane) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Pane) # gmapT :: (forall b. Data b => b -> b) -> Pane -> Pane # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Pane -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Pane -> r # gmapQ :: (forall d. Data d => d -> u) -> Pane -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Pane -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Pane -> m Pane # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Pane -> m Pane # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Pane -> m Pane # | |
Show Pane Source # | |
Generic Pane Source # | |
Default Pane Source # | |
Defined in Chiasma.Ui.Data.View | |
Pretty Pane Source # | |
Defined in Chiasma.Ui.Data.View | |
HasPane Pane Source # | |
Pretty (View Pane) Source # | |
type Rep Pane Source # | |
Defined in Chiasma.Ui.Data.View type Rep Pane = D1 ('MetaData "Pane" "Chiasma.Ui.Data.View" "chiasma-0.2.0.0-inplace" 'False) (C1 ('MetaCons "Pane" 'PrefixI 'True) (S1 ('MetaSel ('Just "_open") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_pin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_cwd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FilePath))))) |
Instances
Eq Layout Source # | |
Data Layout Source # | |
Defined in Chiasma.Ui.Data.View gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Layout -> c Layout # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Layout # toConstr :: Layout -> Constr # dataTypeOf :: Layout -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Layout) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Layout) # gmapT :: (forall b. Data b => b -> b) -> Layout -> Layout # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Layout -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Layout -> r # gmapQ :: (forall d. Data d => d -> u) -> Layout -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Layout -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Layout -> m Layout # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Layout -> m Layout # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Layout -> m Layout # | |
Show Layout Source # | |
Generic Layout Source # | |
Default Layout Source # | |
Defined in Chiasma.Ui.Data.View | |
Pretty Layout Source # | |
Defined in Chiasma.Ui.Data.View | |
HasLayout Layout Source # | |
Pretty (View Layout) Source # | |
type Rep Layout Source # | |
Defined in Chiasma.Ui.Data.View |
Instances
Eq a => Eq (View a) Source # | |
Data a => Data (View a) Source # | |
Defined in Chiasma.Ui.Data.View gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> View a -> c (View a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (View a) # toConstr :: View a -> Constr # dataTypeOf :: View a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (View a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (View a)) # gmapT :: (forall b. Data b => b -> b) -> View a -> View a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> View a -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> View a -> r # gmapQ :: (forall d. Data d => d -> u) -> View a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> View a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> View a -> m (View a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> View a -> m (View a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> View a -> m (View a) # | |
Show a => Show (View a) Source # | |
Generic (View a) Source # | |
Default a => Default (View a) Source # | |
Defined in Chiasma.Ui.Data.View | |
Pretty (View Pane) Source # | |
Pretty (View Layout) Source # | |
Identifiable (View a) Source # | |
HasView (View a) a Source # | |
type Rep (View a) Source # | |
Defined in Chiasma.Ui.Data.View type Rep (View a) = D1 ('MetaData "View" "Chiasma.Ui.Data.View" "chiasma-0.2.0.0-inplace" 'False) (C1 ('MetaCons "View" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_ident") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Ident) :*: S1 ('MetaSel ('Just "_state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ViewState)) :*: (S1 ('MetaSel ('Just "_geometry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ViewGeometry) :*: S1 ('MetaSel ('Just "_extra") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a)))) |
type LayoutView = View Layout Source #
prettyView :: Doc a -> Ident -> ViewState -> ViewGeometry -> Doc a Source #
consLayoutAs :: Bool -> Ident -> LayoutView Source #
consLayout :: Ident -> LayoutView Source #
consLayoutVertical :: Ident -> LayoutView Source #
Instances
Bifunctor Tree Source # | |
Bifoldable Tree Source # | |
(Eq l, Eq p) => Eq (Tree l p) Source # | |
(Data l, Data p) => Data (Tree l p) Source # | |
Defined in Chiasma.Ui.Data.View gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tree l p -> c (Tree l p) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Tree l p) # toConstr :: Tree l p -> Constr # dataTypeOf :: Tree l p -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Tree l p)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Tree l p)) # gmapT :: (forall b. Data b => b -> b) -> Tree l p -> Tree l p # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tree l p -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tree l p -> r # gmapQ :: (forall d. Data d => d -> u) -> Tree l p -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Tree l p -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tree l p -> m (Tree l p) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tree l p -> m (Tree l p) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tree l p -> m (Tree l p) # | |
(Show l, Show p) => Show (Tree l p) Source # | |
Generic (Tree l p) Source # | |
Identifiable l => Ixed (Tree l p) Source # | |
Defined in Chiasma.Ui.Data.View | |
(Data l, Data p) => Plated (Tree l p) Source # | |
Defined in Chiasma.Ui.Data.View plate :: Traversal' (Tree l p) (Tree l p) # | |
(Pretty l, Pretty p) => Pretty (Tree l p) Source # | |
Defined in Chiasma.Ui.Data.View | |
Identifiable l => Identifiable (Tree l p) Source # | |
HasTree (Tree l p) l p Source # | |
type Rep (Tree l p) Source # | |
Defined in Chiasma.Ui.Data.View type Rep (Tree l p) = D1 ('MetaData "Tree" "Chiasma.Ui.Data.View" "chiasma-0.2.0.0-inplace" 'False) (C1 ('MetaCons "Tree" 'PrefixI 'True) (S1 ('MetaSel ('Just "treeData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 l) :*: S1 ('MetaSel ('Just "treeSubs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TreeSub l p]))) | |
type Index (Tree _1 _2) Source # | |
Defined in Chiasma.Ui.Data.View | |
type IxValue (Tree l p) Source # | |
Defined in Chiasma.Ui.Data.View |
Instances
Bifunctor TreeSub Source # | |
Bifoldable TreeSub Source # | |
(Eq l, Eq p) => Eq (TreeSub l p) Source # | |
(Data l, Data p) => Data (TreeSub l p) Source # | |
Defined in Chiasma.Ui.Data.View gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TreeSub l p -> c (TreeSub l p) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (TreeSub l p) # toConstr :: TreeSub l p -> Constr # dataTypeOf :: TreeSub l p -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (TreeSub l p)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (TreeSub l p)) # gmapT :: (forall b. Data b => b -> b) -> TreeSub l p -> TreeSub l p # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TreeSub l p -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TreeSub l p -> r # gmapQ :: (forall d. Data d => d -> u) -> TreeSub l p -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> TreeSub l p -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> TreeSub l p -> m (TreeSub l p) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TreeSub l p -> m (TreeSub l p) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TreeSub l p -> m (TreeSub l p) # | |
(Show l, Show p) => Show (TreeSub l p) Source # | |
Generic (TreeSub l p) Source # | |
(Pretty l, Pretty p) => Pretty (TreeSub l p) Source # | |
Defined in Chiasma.Ui.Data.View | |
HasTreeSub (TreeSub l p) l p Source # | |
type Rep (TreeSub l p) Source # | |
Defined in Chiasma.Ui.Data.View type Rep (TreeSub l p) = D1 ('MetaData "TreeSub" "Chiasma.Ui.Data.View" "chiasma-0.2.0.0-inplace" 'False) (C1 ('MetaCons "TreeNode" 'PrefixI 'True) (S1 ('MetaSel ('Just "_subTree") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Tree l p))) :+: C1 ('MetaCons "TreeLeaf" 'PrefixI 'True) (S1 ('MetaSel ('Just "_leafData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 p))) |
class HasTreeSub c l p | c -> l p where Source #
type ViewTreeSub = TreeSub LayoutView PaneView Source #