grapefruit-examples-0.1.0.6: Examples using the Grapefruit library

Safe HaskellNone
LanguageHaskell98

Examples.Grapefruit.ListView

Description

A Grapefruit example which demonstrates the use of incremental signals and container views.

A list of kinds of fruit is displayed. Below this list, there are several buttons for manipulating the list. The changing list is represented by an incremental signal over sequences. Note that not every list manipulation is applicable at every time. If you select a non-applicable operation, you get a runtime error. This is caused by the generic checking for incremental signals which is provided by the iSignal function.

Synopsis

Documentation

mainCircuit :: ContainerUIBackend uiBackend => UICircuit Window uiBackend era () (DSignal era ()) Source #

The circuit describing the whole application.