Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alive GUI library with FRP support for Haskell [closed]

Is there any alive Haskell library which implements FRP and could be used to program UI/interactive graphics?

What I expect from such a library:

  • Doesn't use any crazy GHC extension, so code could be understood by mortals.
  • Not abandoned (had some commits in last 6 mouths and few answered thread in mailing lists).
  • Backed by some modern window library (Qt, GTK) and covers fair amount of it functionality.
  • Also has drawing and animation support, i.e. let the user to simply define some shapes and effects and bind their parameters to behaviors.

I checked some resources and picture is quite sad.

  • Original Fran and its ancestor Fruit family are officially dead.
  • Reactive is an abstract framework and doesn't have bindings to real UI/graphics (did I miss something?).
  • Netwire also look aimed for general case. Currently it has no documentation covering how to build UI/graphics with it. The only example is a full application not even close to tutorial.
  • Grapefruit looks good, but it had last commits in December 2013 and the mailing list full of spam. I consider it abandoned.
  • Yampa has not documentation at all, and the mailing list is silent since November 2013.
like image 864
CheatEx Avatar asked Jul 09 '14 14:07

CheatEx


2 Answers

Reactive Banana has been updated relatively regularly, has bindings to SDL, some decent examples, a tutorial and a relatively small but decently commented API reference.

There's also a backend to wx, and see this question about using it with GtK.

The maintainer, Heinrich Apfelmus, is on Stack Overflow, and often answers questions on the reactive-banana tag.

Does this suit your needs?

like image 142
Benjamin Kovach Avatar answered Oct 17 '22 21:10

Benjamin Kovach


GUI programming is the major use case of reactive-banana I believe.

like image 44
Tom Ellis Avatar answered Oct 17 '22 21:10

Tom Ellis