monadic-frp

所属分类:论文
开发工具:Haskell
文件大小:0KB
下载次数:0
上传日期:2013-09-27 19:38:36
上 传 者sh-1993
说明:  “一元函数 React编程”论文附带的代码,
(Code accompanying the paper "Monadic Functional Reactive Programming",)

文件列表:
Control/ (0, 2013-09-27)
Control/MonadicFRP.hs (12472, 2013-09-27)
Main.hs (94, 2013-09-27)
PaperExample.hs (4513, 2013-09-27)
SDLSFRP.hs (5095, 2013-09-27)
Setup.hs (46, 2013-09-27)
TabbedBoxes.hs (4516, 2013-09-27)
YampaPaperExample.hs (5653, 2013-09-27)
YampaSDL.hs (3897, 2013-09-27)
extensible/ (0, 2013-09-27)
extensible/DynLet.hs (3454, 2013-09-27)
extensible/HEnv.hs (1990, 2013-09-27)
extensible/Main.hs (115, 2013-09-27)
extensible/PaperExample.hs (4981, 2013-09-27)
extensible/Reactive.hs (9288, 2013-09-27)
extensible/ReactiveHEnv.hs (1273, 2013-09-27)
extensible/SDLSFRP.hs (3209, 2013-09-27)
makedocs (262, 2013-09-27)
monadic-frp-example.cabal (424, 2013-09-27)
talk/ (0, 2013-09-27)
talk/01.png (2440, 2013-09-27)
talk/02.png (2440, 2013-09-27)
talk/03.png (2439, 2013-09-27)
talk/04.png (2423, 2013-09-27)
talk/05.png (2468, 2013-09-27)
talk/are-we-there-yet.jpg (38491, 2013-09-27)
talk/drawing.pdf (2151, 2013-09-27)
talk/free-will.jpg (18880, 2013-09-27)
talk/maak (54, 2013-09-27)
talk/many-worlds.png (90626, 2013-09-27)
talk/many-worlds1.jpg (124766, 2013-09-27)
talk/recompute.png (14506, 2013-09-27)
talk/screenshot.png (9254, 2013-09-27)
talk/screenshot1.png (551881, 2013-09-27)
talk/talk.tex (18586, 2013-09-27)

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

近期下载者

相关文件


收藏者