ANNOUNCE: brick 0.2 released
Hi, I'm happy to announce brick version 0.2, a declarative terminal UI library. This version includes many API changes, some bugfixes, and some performance improvements. I would really like to thank Simon Michael for considerable tire-kicking that resulted in a lot of improvements, and Sebastian Reuße for fixing some nasty space leaks! You can read the full change log at https://github.com/jtdaugherty/brick/blob/master/CHANGELOG.md#02 and get it from Hackage at http://hackage.haskell.org/package/brick-0.2 Enjoy! -- Jonathan Daugherty
I don't remember it being addressed in the initial release and this seems as good a time as any. Not having used vty-ui much (found it a bit forbidding to use for what I wanted at the time -- resorted to something very spare), what does brick improve upon in your eyes? As much detail as you have time for would be very much appreciated. :) Cheers, Chris Allen On Mon, Aug 24, 2015 at 1:07 PM, Jonathan Daugherty <cygnus@foobox.com> wrote:
Hi,
I'm happy to announce brick version 0.2, a declarative terminal UI library. This version includes many API changes, some bugfixes, and some performance improvements. I would really like to thank Simon Michael for considerable tire-kicking that resulted in a lot of improvements, and Sebastian Reuße for fixing some nasty space leaks!
You can read the full change log at
https://github.com/jtdaugherty/brick/blob/master/CHANGELOG.md#02
and get it from Hackage at
http://hackage.haskell.org/package/brick-0.2
Enjoy!
-- Jonathan Daugherty _______________________________________________ Haskell mailing list Haskell@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell
-- Chris Allen Currently working on http://haskellbook.com
I don't remember it being addressed in the initial release and this seems as good a time as any. Not having used vty-ui much (found it a bit forbidding to use for what I wanted at the time -- resorted to something very spare), what does brick improve upon in your eyes?
I took a totally different approach with brick. vty-ui is just a rehashing of ideas from existing graphical toolkits; everything was in IO and used IORefs, and it felt very much like programming GTK or QT: create a widget register event handlers, press Go. brick takes a pure-functional approach where it can, making the process of drawing the UI a pure function of your application state. (I like to say it was inspired by gloss in this respect, because gloss is a joy to use.) This makes it more lightweight and therefore less of a distraction. Apps written using brick are easier to refactor, more amenable to decomposition, etc. than those written using vty-ui. brick also gets in the way less if you want to use the underlying vty library more often. But if you haven't used vty-ui, then the comparison is somewhat moot; evaluate brick on its own merit. :) -- Jonathan Daugherty
participants (2)
-
Christopher Allen -
Jonathan Daugherty