[Haskell-cafe] FRP Tutorial

Bram Neijt bneijt at gmail.com
Sat Dec 27 20:23:12 UTC 2014

I'm trying to wrap my head around FRP by ignoring the whole GUI part
for now and working with Sodium[6] to do simple really simple
things[1]. I've extracted the Poodle (OpenGL with Sodium) example into
a separate github to add a cabal file[2]. You should be able to use
'cabal run' on that.

Top FRP talk on Youtube I have found thus far is: An Event-driven and
Reactive Future[3], which does a nice overview of FRP and how it
relates to other patterns.

Also playing around with Elm[4] and Bacon.js[5] in the browser is fun.

If you find working GUI examples, please consider sharing them and
posting a link on this thread!



[1] http://bneijt.nl/blog/post/sodium-frp-simplest-example
[2] https://github.com/bneijt/poodle
[3] https://www.youtube.com/watch?v=_VdIQTtRkb8
[4] http://elm-lang.org/
[5] https://baconjs.github.io/
[6] https://hackage.haskell.org/package/sodium

On Wed, Dec 24, 2014 at 2:33 PM, Heinrich Apfelmus
<apfelmus at quantentunnel.de> wrote:
> Max Voit wrote:
>> Heinrich Apfelmus wrote:
>>> As for reactive-banana-wx: There's a reason I started Threepenny. :)
>> Regarding this issue: Could you please clarify this (ideally on the
>> threepenny and reactive-banana github pages)? I have looked into these
>> projects from time to time and was quite confused by all the dependency
>> changes (threepenny being now standalone without relation to
>> reactive-banana, if i understood correctly). I guess a clear note would
>> be helpful to a lot of people looking for a FRP library.
> Well, there are FRP (functional reactive programming) libraries and there
> are GUI (graphical user interface) libraries. While the two go well
> together, these are really two separate concepts. Which one of the two are
> you looking for?
>   reactive-banana    = FRP only
>   reactive-banana-wx = connects a GUI library and an FRP library
>   threepenny         = mainly GUI, but includes a small FRP part
> I will try to make the distinction more clear on the project homepage (to
> which the github pages link), but I can't guarantee that there will be less
> confusion for people who are completely new to these ideas.
> Best regards,
> Heinrich Apfelmus
> --
> http://apfelmus.nfshost.com
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list