grapefruit-examples: Examples using the Grapefruit library
Grapefruit is a library for Functional Reactive Programming (FRP) with a focus on user interfaces. FRP makes it possible to implement reactive and interactive systems in a declarative style. To learn more about FRP, have a look at http://haskell.org/haskellwiki/Functional_Reactive_Programming.
This package contains a collection of examples using Grapefruit.
For running an example, you can start GHCi and enter the following:
import Graphics.UI.Grapefruit.Circuit import Graphics.UI.Grapefruit.UIBackend import Examples.Grapefruit.Example run UIBackend mainCircuit ()
Replace Example
with the name of the example to run and UIBackend
with the
name of the UI backend you want to use. At the moment, the only examples are
Simple
, Switching
, Converter
, ListView
, and SetView
, and the only UI
backend is GTK
.
Modules
- Examples
- Grapefruit
- Examples.Grapefruit.Converter
- Examples.Grapefruit.ListView
- Examples.Grapefruit.SetView
- Examples.Grapefruit.Simple
- Examples.Grapefruit.Switching
- Grapefruit
Downloads
- grapefruit-examples-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.0.0.0, 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.0.6, 0.1.0.7 |
---|---|
Dependencies | base (>=3.0 && <4.4), colour (>=1.0 && <2.4), containers (>=0.1 && <0.5), fraction (>=0.0.1 && <0.2), grapefruit-frp (>=0.1 && <0.2), grapefruit-records (>=0.1 && <0.2), grapefruit-ui (>=0.1 && <0.2) [details] |
Tested with | ghc ==7.0.4 |
License | BSD-3-Clause |
Copyright | © 2007–2009 Brandenburgische Technische Universität Cottbus; © 2011 Wolfgang Jeltsch |
Author | Wolfgang Jeltsch |
Maintainer | wolfgang@cs.ioc.ee |
Category | FRP, Reactivity, GUI, User Interfaces |
Home page | http://grapefruit-project.org/ |
Source repo | head: darcs get http://darcs.grapefruit-project.org/main this: darcs get http://darcs.grapefruit-project.org/main --tag grapefruit-0.1.0.0 |
Uploaded | by WolfgangJeltsch at 2011-11-10T23:15:13Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 7773 total (1 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2016-12-26 [all 6 reports] |