[Haskell-cafe] Re: Images and GUIs in Haskell

Achim Schneider barsoap at web.de
Sat May 31 19:40:52 EDT 2008


"Ronald Guida" <oddron at gmail.com> wrote:

> Two questions:
> 
> 1. In a Haskell program, if all I want to do is output an image, like
> a graph or chart, what is the simplest library to use?
> 
> N.B. Simpler := easier to get minimal functionality. I really don't
> want to wade through a bunch of boilerplate or climb a steep learning
> curve just to be able to plot a few lines or circles.
> 
> 2. Suppose I want interactivity.  For example, I want to plot a line
> graph, and then let the user click and drag the data points.  From
> what I understand about GUIs, I would need to track mouse buttons (up
> and down), mouse movements, and possibly keystrokes.  (I know this is
> the complete opposite extreme from my first question)
> 
> In this case, what would be the best (not necessarily simplest)
> library to use?  What would you recommend?
>
http://hackage.haskell.org/packages/archive/pkg-list.html#cat:Graphics
or
Gnuplot

YMMV.

-- 
(c) this sig last receiving data processing entity. Inspect headers for
past copyright information. All rights reserved. Unauthorised copying,
hiring, renting, public performance and/or broadcasting of this
signature prohibited. 



More information about the Haskell-Cafe mailing list