lgtk-0.1.0.1: lens-based GUI with Gtk backend
GUI.MLens.Gtk.ADTEditor
Synopsis
data List a Source
Type-level lists
Constructors
data Elems xs whereSource
Heterogeneous lists
class ADTLens a whereSource
Lens for editable ADTs
Associated Types
type ADTEls a :: List *Source
Methods
adtLens :: ([(String, [Int])], Elems (ADTEls a), Lens (Int, Elems (ADTEls a)) a)Source
Instances
ADTLens instance for T
ADTLens
T
adtEditor :: (ExtRef m, ADTLens a) => Ref m a -> m (I m)Source
A generic ADT editor