grapefruit-examples- Examples using the Grapefruit library

Safe HaskellNone



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.



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

The circuit describing the whole application.