[Haskell-cafe] ANNOUNCE: vty-ui 0.3

Jonathan Daugherty drcygnus at gmail.com
Fri Feb 19 01:23:34 EST 2010

I'm happy to announce the release of vty-ui 0.3.

Get it from Hackage:


Or get the source with darcs:


Project homepage:


This version of vty-ui features a richer rendering engine, generalized text
transformations, and a more functional style.  If you've written any
to use vty-ui, your type signatures and usage of a few of the built-in widget
types will need to change but the API is largely the same.  In
particular, the largest
change was a refactoring inspired by Luke Palmer's blog post, "Haskell
Existential Typeclass," which targeted vty-ui (among other libraries)
in its treatment
of the topic:


Here's a summary of changes:

  * Replace Widget type class with a concrete Widget type
  * Move text widget into Graphics.Vty.Widgets.Text
  * Add support for generalized text "formatters"
  * Replace WrappedText widget type with a text-wrapping formatter
  * Provide a regex-based text-highlighting formatter (see the demo
for an example)
  * Refactor the rendering engine to provide "address" information so
you can get coordinates and size for rendered widgets
  * Add a few QuickCheck tests (and related fixes)


  Jonathan Daugherty

More information about the Haskell-Cafe mailing list