GithubHelp home page GithubHelp logo

hegel5000 / reactive-banana Goto Github PK

View Code? Open in Web Editor NEW

This project forked from heinrichapfelmus/reactive-banana

0.0 1.0 0.0 1.55 MB

Reactive-banana is a library for functional reactive programming, written in the beautiful language Haskell.

Home Page: http://haskell.org/haskellwiki/Reactive-banana

reactive-banana's Introduction

What is reactive-banana?

Reactive-banana is a practical library for Functional Reactive Programming (FRP), written in Haskell.

Support the project with a small donation: Flattr this

See the project homepage for documentation, examples and so on.

I'm writing documentation on a call-by-need basis. So, feel free to write me an email if you want something explained that you don't understand, and I'll explain it to you!

Compilation

To build and install the core library, simply type

cd reactive-banana && cabal install && cd ..

However, to try out the GUI examples, you have to install one of the of the additional packages.

GUI examples using wxHaskell

Prerequisites: the wxHaskell package

cabal install wx

Note that you need to have a development version of the wxWidgets libraries installed before building wx. If you run into ExitFailure 1 exceptions, please follow the wxHaskell Quick Start instructions and try again.

To build the wx examples, type

cd reactive-banana-wx
cabal configure -fbuildExamples && cabal build
cd ..

GUI examples using Ji

Prerequisites: Chris Done's ji library.

git clone git://github.com/chrisdone/ji.git
cabal install

To build the ji examples, type

cd reactive-banana-ji
cabal configure -fbuildExamples && cabal build
cd ..

How is the source code structured?

The project contains several directories:

  • reactive-banana - the core library
  • reactive-banana-wx - bindings to the wxHaskell GUI library, includes many examples
  • reactive-banana-ji - experimental bindings to Chris Done's ji library for the web browser

The reactive-banana library actually contains two FRP implementations:

  1. Reactive.Banana.Model - A model implementation for testing and understanding the semantics. You are encouraged to look at the source code.
  2. Reactive.Banana.Internal - The efficient push-driven implementation used for production code. Contains hard to understand trade secrets. ;-)

Contribute

Send me your examples, bindings, problems, suggestions, etc!

With contributions from

  • Abu Alam
  • Kevin Cantu
  • Gregory Crosswhite
  • Elliott Hird
  • John Lato
  • Gideon Sireling
  • Henning Thielemann
  • Daniel Werner

reactive-banana's People

Contributors

heinrichapfelmus avatar shimuuar avatar duplode avatar danwerner avatar enolan avatar ggreif avatar johnlato avatar zopa avatar

Watchers

Ian Longshore avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.