Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Code accompanying the paper "Monadic Functional Reactive Programming"
Haskell Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Control
extensible
talk
Main.hs
PaperExample.hs
README.md
SDLSFRP.hs
Setup.hs
TabbedBoxes.hs
YampaPaperExample.hs
YampaSDL.hs
makedocs
monadic-frp-example.cabal

README.md

Code accompanying the paper "Monadic Functional Reactive Programming" Atze van der Ploeg, Haskell Symposium '13. Paper available at http://homepages.cwi.nl/~ploeg/papers/monfrp.pdf

The documentation is at http://homepages.cwi.nl/~ploeg/sfrpdocs/

To try out the drawing program do the following:

  • git clone git://github.com/cwi-swat/monadic-frp.git
  • cd monadic-frp
  • cabal configure
  • cabal build

Binary is now in dist/build/DrawProg/DrawProg

The program works as described in the paper. The tabs are controlled by mouse gestures: a mouse gesture is holding down the right button and moving left, right, up or down and then releasing the button

  • Mouse gesture up is duplicate the current tab
  • Mouse gesture down is delete current tab
  • Mouse gesture left is switch to tab on the right (this makes sense when making the movement)
  • Mouse gesture right is switch to tab on the left (this makes sense when making the movement)

Tab actions are super awesomely animated!

At the start there is only one tab, so the only tab action that is possible is to duplicate it.

The code for :

  • the library is in Control/MonadicFRP.hs
  • SDL interpreter is SDLSFRP.hs
  • the drawing program in the paper is in PaperExample.hs
  • the tabbed drawing program mentioned in the paper is in TabbedBoxes.hs

The code in extensible/ is work in progress on a new version based on heterogenous lists

Something went wrong with that request. Please try again.