def
widget.tc.mk_simple
{π α : Type}
[decidable_eq «π»]
(β σ : Type)
(init : «π» → tactic σ)
(update : «π» → σ → β → tactic (σ × option α))
(view : «π» → σ → tactic (list (widget.html β))) :
widget.tc «π» α
Make a tactic component from some init, update, views which are expecting a tactic. The tactic_state never mutates.
def
widget.tc.stateless
{π α : Type}
[decidable_eq «π»]
(view : «π» → tactic (list (widget.html α))) :
widget.tc «π» α