[Haskell] ANN: Vty 3.0.0

Stefan O'Rear stefanor at cox.net
Tue Feb 13 23:12:47 EST 2007


Yet another new major of vty has been produced.  While I had hoped
this compatibility break would never be needed, it seems vty 2's lazy
lists and unpacked records were preventing good performance, so the
level of abstraction has been increased by creating opaque types Image
and Attr.

Internally, the new Image uses side effectful array update
(unsafePerformIO is not needed because it can only be read by the
IO-using update procedure), and the new Attr uses bit flags packed
into a single Word#.

Yi, using the new release, has doubled in speed with no additional
tuning.

There are no other notable API changes. (although internally a
Cursor-level control module has been factored out, perhaps in
preparation for being exposed)

As always, feedback is appreciated.

Stefan

Tar:     http://members.cox.net/stefanor/vty/dist/vty-3.0.0.tar.gz
Haddock: http://members.cox.net/stefanor/vty/dist/doc/html/index.html
Darcs:   darcs get --tag=rel-3.0.0 http://members.cox.net/stefanor/vty/


More information about the Haskell mailing list