Popularity
3.1
Stable
Activity
0.0
Stable
5
3
0

Monthly Downloads: 7
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: FRP     Reactivity     Yampa    
Latest version: v0.2.0

Yampa-core alternatives and similar packages

Based on the "Yampa" category.
Alternatively, view Yampa-core alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Yampa-core or a related project?

Add another 'Yampa' Package

README

Flattr this git repo

Domain-specific language embedded in Haskell for programming hybrid (mixed discrete-time and continuous-time) systems. Yampa is based on the concepts of Functional Reactive Programming (FRP) and is structured using arrow combinators.

This is a new version of Yampa. Although the old API is mainly respected, the code has been reorganised to facilitate understanding and documentation. The API is not fully backwards compatible, but most projects should work without changes or with minimal adaptations. If that is not the case, please let us know. Also, if you are FRP savvy, please take a look around and tell us whether there's anything you'd change. The documentation is available at: http://ivanperez-keera.github.io/haddock/Yampa/FRP-Yampa.html

Installation

Yampa is available on hackage: http://hackage.haskell.org/package/Yampa.

$ cabal sandbox init         # Optional, but recommended
$ cabal update
$ cabal install Yampa

Examples

There are many programs written in Yampa. See the following examples:

A more comprehensive list can be obtained using the reverse dependency finder (http://packdeps.haskellers.com/reverse/Yampa), but only programs uploaded to hackage are listed.

Backends

Yampa is backend agnostic, you can ultimately connect it to any backend you want. Existing backends include:

  • SDL
  • OpenGL / GLUT
  • WX (see wxHaskell)

Use in production

Documentation and tutorials

The distribution of Yampa comes with subtantial haddock documentation, which you can build using haddock or just read online. To build a local copy, do:

$ cabal unpack Yampa ## Or git clone this-repo
$ cd Yampa-*
$ cabal init
$ cabal install --only-dependencies
$ cabal configure && cabal haddock --internal

Documentation is also available online: https://wiki.haskell.org/Yampa

Papers and technical reports

For a list of Yampa-related papers, see:

See also PhD technical report, chapter 3. http://www.cs.nott.ac.uk/~ixp/ which includes a review of FRP and outlines some existing issues.

Help and collaboration

You can collaborate at least in three ways:

  • File an issue (https://github.com/ivanperez-keera/Yampa/issues).
  • Write documentation (send a link and/or a pull request).
  • Research: we are constantly trying to improve Yampa. We'd be glad to have collaborators. If you are working on this, please, let us know.

(Interactivity and FRP is the main topic of my (ongoing) PhD studies, so I'll keep working on this for quite some time. -- Ivan Perez)

Authors

  • Henrik Nilsson
  • Antony Courtney

Maintainer

  • Ivan Perez