Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-14 Thread Heinrich Apfelmus
Paul Liu wrote: You guys might want to checkout the recent work on Euterpea at Yale CS. In particular: 1. Paul Hudak is writing a new book. http://plucky.cs.yale.edu/cs431/reading.htm 2. It uses FRP and arrows for sound synthesis. 3. It combines FRP signals with monadic (which recently gets

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-14 Thread Heinrich Apfelmus
Heinrich Apfelmus wrote: Dear Haskellers, Can GUI programming be liberated from the IO monad? Functional Reactive Programming (FRP) promises as much, and I'm trying to make this dream a reality with my [reactive-banana][] library. Having released version 0.4.0.0, I am now looking for example

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-11 Thread Yves Parès
Can GUI programming be liberated from the IO monad? From a layman's point of view, aren't structures like enumerators/iteratees more suited to deal with IO? Or maybe they just wouldn't apply in the case of GUI... 2011/7/8 Heinrich Apfelmus apfel...@quantentunnel.de Dear Haskellers, Can GUI

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-11 Thread Paul Liu
You guys might want to checkout the recent work on Euterpea at Yale CS. In particular: 1. Paul Hudak is writing a new book. http://plucky.cs.yale.edu/cs431/reading.htm 2. It uses FRP and arrows for sound synthesis. 3. It combines FRP signals with monadic (which recently gets re-written in arrows)

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-11 Thread Yves Parès
1. Paul Hudak is writing a new book. http://plucky.cs.yale.edu/cs431/reading.htm Wow... this is going to be my bedside reading. I haven't read the original Haskell School of Expression, did it use FRP back then? 2011/7/11 Paul Liu nine...@gmail.com You guys might want to checkout the recent

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-11 Thread Paul Liu
The original SOE had some FAL (functional animation) stuff, but I don't think it used specifically the word FRP. Certainly the concept of a first-class signal (behavior and event) was present. Regards, Paul Liu On Mon, Jul 11, 2011 at 3:22 PM, Yves Parès limestr...@gmail.com wrote: 1. Paul

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-10 Thread Heinrich Apfelmus
Henning Thielemann wrote: Heinrich Apfelmus wrote: Could you expand a little on your arrow-like stream processors? What do the arrows look like, data SF a b = SF (a - (b, SF a b)) ? My stream processors are not Arrows, because 'first' cannot be implemented. However, 'arr' and '.' can

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-10 Thread Felipe Almeida Lessa
On Sat, Jul 9, 2011 at 7:58 AM, Henning Thielemann lemm...@henning-thielemann.de wrote: My stream processors are not Arrows, because 'first' cannot be implemented. However, 'arr' and '.' can be implemented. ... Since I have no Arrow instance I even have to write my own combinators that are

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-10 Thread Henning Thielemann
On Sun, 10 Jul 2011, Felipe Almeida Lessa wrote: On Sat, Jul 9, 2011 at 7:58 AM, Henning Thielemann lemm...@henning-thielemann.de wrote: My stream processors are not Arrows, because 'first' cannot be implemented. However, 'arr' and '.' can be implemented. ... Since I have no Arrow instance

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-10 Thread Henning Thielemann
On Sun, 10 Jul 2011, Heinrich Apfelmus wrote: Question: how would you actually like to describe the guitar simulator at a high-level? Did you already wish for some specific combinators? Assume that you had something like reactive-banana available and imagine that there were a benevolent

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-10 Thread Heinrich Apfelmus
Henning Thielemann wrote: Heinrich Apfelmus wrote: Question: how would you actually like to describe the guitar simulator at a high-level? Did you already wish for some specific combinators? Assume that you had something like reactive-banana available and imagine that there were a benevolent

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-10 Thread Tom Murphy
Oh! I have a good, small (single-purpose; reusable), useful one! A text field which tab-completes words or phrases from a dictionary. Haskeline provides useful (non-FRP) for implementing this, but it seems like FRP could handle this in an interesting way. Tom On 7/10/11, Heinrich Apfelmus

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-09 Thread Heinrich Apfelmus
KC wrote: Can one do FRP with Haskell connected to Javascript in the browser? I believe there is a standalone version of Javascript. Well, there is http://www.flapjax-lang.org/ for Javascript FRP. I don't think it makes much sense to control real-time client-side interaction by server-side

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-09 Thread Heinrich Apfelmus
David Virebayre wrote: Heinrich Apfelmus: I want to hear! Just a description. :) You can also mention why you find it interesting etc. Well I have an old program sitting around. Anyway, it's very simple : The GUI has - a window with a menu bar, 2 directory selects (source and dest

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-09 Thread Heinrich Apfelmus
Henning Thielemann wrote: Heinrich Apfelmus wrote: Can GUI programming be liberated from the IO monad? Functional Reactive Programming (FRP) promises as much, and I'm trying to make this dream a reality with my [reactive-banana][] library. Having released version 0.4.0.0, I am now looking

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-09 Thread Henning Thielemann
On Sat, 9 Jul 2011, Heinrich Apfelmus wrote: Oh, I am addressed explicitly, thanks! Yes, GUI for 'streamed' would be nice, too. In the meantime I switched from an approach with lazy lists to one with arrow-like stream processors. This way I could resolve all issues with wrong timing and

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-09 Thread John Lato
From: Chris Smith cdsm...@gmail.com On Fri, 2011-07-08 at 08:08 +0200, Heinrich Apfelmus wrote: Do you know any *small GUI programs* that you would *like* to see *implemented with Functional Reactive Programming?* This isn't really a specific application, but what I'd like to see most

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-09 Thread David Barbour
On Sat, Jul 9, 2011 at 3:58 AM, Henning Thielemann lemm...@henning-thielemann.de wrote: My stream processors are not Arrows, because 'first' cannot be implemented. However, 'arr' and '.' can be implemented. Currently I have build the two tasks into one stream processor. I would like to

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-09 Thread Ryan Ingram
On Thu, Jul 7, 2011 at 11:08 PM, Heinrich Apfelmus apfel...@quantentunnel.de wrote: Do you know any *small GUI programs* that you would *like* to see *implemented with Functional Reactive Programming?* I think this is an admirable effort. My suggestions are 'Stuff that came with Windows

[Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Heinrich Apfelmus
Dear Haskellers, Can GUI programming be liberated from the IO monad? Functional Reactive Programming (FRP) promises as much, and I'm trying to make this dream a reality with my [reactive-banana][] library. Having released version 0.4.0.0, I am now looking for example programs to direct the

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread David Virebayre
2011/7/8 Heinrich Apfelmus apfel...@quantentunnel.de: Do you know any *small GUI programs* that you would *like* to see *implemented with Functional Reactive Programming?* I may have an example. I would love to hear your examples, so that I can try to convert them to FRP style and test my

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Heinrich Apfelmus
David Virebayre wrote: Heinrich Apfelmus wrote: Do you know any *small GUI programs* that you would *like* to see *implemented with Functional Reactive Programming?* I may have an example. I want to hear! I would love to hear your examples, so that I can try to convert them to FRP style

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Jason Dagit
On Thu, Jul 7, 2011 at 11:08 PM, Heinrich Apfelmus apfel...@quantentunnel.de wrote: Dear Haskellers, Can GUI programming be liberated from the IO monad? Functional Reactive Programming (FRP) promises as much, and I'm trying to make this dream a reality with my [reactive-banana][] library.

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Dmitriy Nikitinskiy
08.07.2011 10:08, Heinrich Apfelmus пишет: Dear Haskellers, Can GUI programming be liberated from the IO monad? Functional Reactive Programming (FRP) promises as much, and I'm trying to make this dream a reality with my [reactive-banana][] library. Having released version 0.4.0.0, I am now

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Heinrich Apfelmus
Jason Dagit wrote: Heinrich Apfelmus wrote: Do you know any *small GUI programs* that you would *like* to see *implemented with Functional Reactive Programming?* I would love to hear your examples, so that I can try to convert them to FRP style and test my library against them! How about a

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread David Barbour
On Thu, Jul 7, 2011 at 11:08 PM, Heinrich Apfelmus apfel...@quantentunnel.de wrote: Can GUI programming be liberated from the IO monad? I believe it can be. But is FRP the right way to achieve this? Most of the GUI problems I've ever encountered involve open systems: configuration files,

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Ketil Malde
[snip haskell@, leaving -café] Heinrich Apfelmus apfel...@quantentunnel.de writes: Do you know any *small GUI programs* that you would *like* to see *implemented with Functional Reactive Programming?* I don't know if this fits the bill, but a tool that I'd like to see is plotting for one or

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Mihai Maruseac
On Fri, Jul 8, 2011 at 11:57 AM, Ketil Malde ke...@malde.org wrote: [snip haskell@, leaving -café] Heinrich Apfelmus apfel...@quantentunnel.de writes: Do you know any *small GUI programs* that you would *like* to see *implemented with Functional Reactive Programming?* I wanted to

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Mats Rauhala
Before asking the stackoverflow question, I tried to create a gui with three text fields, which would be reflected on the other side as labels. The data the fields would represent was: data Person = Person { name :: String , age :: Int , location :: Maybe String } I believe

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread David Virebayre
2011/7/8 Heinrich Apfelmus apfel...@quantentunnel.de: I want to hear! Just a description. :) You can also mention why you find it interesting etc. Well I have an old program sitting around. Anyway, it's very simple : The GUI has - a window with a menu bar, 2 directory selects (source and dest

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Mats Rauhala
On 11:09 Fri 08 Jul , David Virebayre wrote: 2011/7/8 Heinrich Apfelmus apfel...@quantentunnel.de: I want to hear! Just a description. :) You can also mention why you find it interesting etc. Well I have an old program sitting around. Anyway, it's very simple : The GUI has - a

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Henk-Jan van Tuyl
On Fri, 08 Jul 2011 08:08:26 +0200, Heinrich Apfelmus apfel...@quantentunnel.de wrote: Dear Haskellers, Can GUI programming be liberated from the IO monad? Functional Reactive Programming (FRP) promises as much, and I'm trying to make this dream a reality with my [reactive-banana][]

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Heinrich Apfelmus
Ketil Malde wrote: Heinrich Apfelmus writes: Do you know any *small GUI programs* that you would *like* to see *implemented with Functional Reactive Programming?* I don't know if this fits the bill, but a tool that I'd like to see is plotting for one or more live streams of data. I guess I

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Chris Smith
On Fri, 2011-07-08 at 08:08 +0200, Heinrich Apfelmus wrote: Do you know any *small GUI programs* that you would *like* to see *implemented with Functional Reactive Programming?* This isn't really a specific application, but what I'd like to see most from FRP is an example of something that

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Simon Michael
How about a small gui for entering hledger transactions. Level 1: present a form like the current web form[1] and append the data to a journal file[2]. Level 2: allow more account posting fields to be added on the fly, for posting to more than two accounts. Level 3: populate the account

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Henning Thielemann
On Fri, 8 Jul 2011, Heinrich Apfelmus wrote: Can GUI programming be liberated from the IO monad? Functional Reactive Programming (FRP) promises as much, and I'm trying to make this dream a reality with my [reactive-banana][] library. Having released version 0.4.0.0, I am now looking for

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Daniel Patterson
Forgot to cc the list On Jul 8, 2011, at 11:20 AM, Daniel Patterson wrote: On Jul 8, 2011, at 3:51 AM, Heinrich Apfelmus wrote: Jason Dagit wrote: Heinrich Apfelmus wrote: Do you know any *small GUI programs* that you would *like* to see *implemented with Functional Reactive Programming?*

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Heinrich Apfelmus
Chris Smith wrote: Heinrich Apfelmus wrote: Do you know any *small GUI programs* that you would *like* to see *implemented with Functional Reactive Programming?* This isn't really a specific application, but what I'd like to see most from FRP is an example of something that involves moving

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Heinrich Apfelmus
Dmitriy Nikitinskiy wrote: Heinrich Apfelmus пишет: Do you know any *small GUI programs* that you would *like* to see *implemented with Functional Reactive Programming?* Maybe realize on FRP one of following bored examples: CRUD table: create, update, delete records in table (for example

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread KC
Can one do FRP with Haskell connected to Javascript in the browser? I believe there is a standalone version of Javascript. On 7/8/11, Heinrich Apfelmus apfel...@quantentunnel.de wrote: Chris Smith wrote: Heinrich Apfelmus wrote: Do you know any *small GUI programs* that you would *like* to see

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Jason Dagit
On Fri, Jul 8, 2011 at 12:51 AM, Heinrich Apfelmus apfel...@quantentunnel.de wrote: Jason Dagit wrote: Heinrich Apfelmus wrote: Do you know any *small GUI programs* that you would *like* to see *implemented with Functional Reactive Programming?* I would love to hear your examples, so that

Re: [Haskell-cafe] Call for GUI examples - Functional Reactive Programming

2011-07-08 Thread Joachim Breitner
Hi, Am Freitag, den 08.07.2011, 08:08 +0200 schrieb Heinrich Apfelmus: * or have written small GUI programs that they are unhappy with because they were not purely functional I guess this is would be something suitable: