[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] Diagnose stack space overflow

2011-07-08 Thread Ketil Malde
Max Bolingbroke batterseapo...@hotmail.com writes: Stack space overflow: current size 8388608 bytes. Use `+RTS -Ksize -RTS' to increase it. I want to find out the culprit function and rewrite it tail-recursively. Is there a way to find out which function is causing this error other than 

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] Diagnose stack space overflow

2011-07-08 Thread Ketil Malde
John Lato jwl...@gmail.com writes: I want to find out the culprit function and rewrite it tail-recursively. Is there a way to find out which function is causing this error other than reviewing the code manually? I'd like to point out that a stack-space overflow in Haskell isn't quite the

[Haskell-cafe] ANNOUNCE: hacphi satellite in berlin july 29-31

2011-07-08 Thread Matthias Fischmann
yet another hackathon: in case you wanted to join the philadelphia haskell hackathon but decided it's too far away (or in case you happen to be anywhere near and think this is a great opportunity), please join us in berlin: http://haskell.org/haskellwiki/Hac_%CF%86#Berlin_satellite admission

Re: [Haskell-cafe] Diagnose stack space overflow

2011-07-08 Thread Daniel Fischer
On Friday 08 July 2011, 11:29:40, Ketil Malde wrote: Max Bolingbroke batterseapo...@hotmail.com writes: Stack space overflow: current size 8388608 bytes. Use `+RTS -Ksize -RTS' to increase it. I want to find out the culprit function and rewrite it tail-recursively. Is there a way to

[Haskell-cafe] Using Acid-State for IPC?

2011-07-08 Thread Dmitri O.Kondratiev
Hi, I am wondering if Acid-State (http://hackage.haskell.org/package/acid-state) can be used to share data between processes running in different address spaces? For example, one demon system process (not thread!) periodically collects data from Web and stores it in a list. On regular intervals

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][]

[Haskell-cafe] CfP: Haskell Workshop in Leipzig, Germany, October 7

2011-07-08 Thread Johannes Waldmann
Call for submissions for our local Haskell Workshop in Leipzig, Germany. Tutorials, talks, demonstrations ... everything welcome. Workshop language is German (mainly), and English (by request). Submission deadline: August 20, Workshop date: October 7

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] Using Acid-State for IPC?

2011-07-08 Thread Felipe Almeida Lessa
On Fri, Jul 8, 2011 at 7:30 AM, Dmitri O.Kondratiev doko...@gmail.com wrote: I am wondering if Acid-State (http://hackage.haskell.org/package/acid-state) can be used to share data between processes running in different address spaces? For example, one demon system process (not thread!)

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:

Re: [Haskell-cafe] video for linux two (v4l2) bindings

2011-07-08 Thread Claude Heiland-Allen
Hi, On 05/07/11 10:19, Christopher Done wrote: [snip] /usr/bin/ld: /home/chris/.cabal/lib/bindings-posix-1.2.2/ghc-6.12.3/libHSbindings-posix-1.2.2.a(Signal.o):(.text+0x5dfb): error: undefined reference to 'pthread_kill' [snip] I guess on Claude's system it's linked to by default. So for

Re: [Haskell-cafe] video for linux two (v4l2) bindings

2011-07-08 Thread Maurício Antunes
Hi, all, I've added that 'extra-libraries' to .cabal, and also modules for fcntl.h and sys/mman.h (mmap). Would you please test it and check if it solves the problem before I upload it to hackage? https://bitbucket.org/mauricio/bindings-dsl/downloads/bindings-posix-1.2.3.tar.gz Just download