concoct-0.1.0: A declarative UI framework
Copyright(c) Matt Hunzinger 2026
LicenseBSD-style (see the LICENSE file in the distribution)
Maintainermatt@hunzinger.me
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Concoct.View.Tree

Description

 
Synopsis

Documentation

data ViewTree (t :: Type -> Type) Source #

View tree.

Constructors

ViewTree 

Fields

viewTree :: MonadIO t => (forall (m :: Type -> Type). MonadView t m => m ()) -> t (ViewTree t) Source #

Create a view tree from a view.

rebuildViewTree :: MonadIO t => ViewTree t -> t (ViewTree t) Source #

Rebuild the view tree if changed.

unmountViewTree :: MonadIO t => ViewTree t -> t (ViewTree t) Source #

Unmount the view tree.