Mariano Suarez Alvarez <[EMAIL PROTECTED]> asks:
> Have the beautiful win95 graphics enhancements to hugs 1.4 been
> ported to X?
> (I know there's the Xlib library in Hugs 1.4, but that's much more
> complex (and less elegant (algebraic)) to use...)
The Win32 graphics library hasn't been ported over to Xlib yet.
Here's what has to be done before an Xlib version appears:
1) Rewrite GreenCard (the tool we use to generate the interface to
the Xlib and Win32 libraries).
2) Write a cleaner Xlib interface.
(In particular, we need to improve the operations for manipulating
graphics contexts.)
3) Implement an Xlib version of the Graphics library.
This can use a lot of the ideas from the Win32 version but most of it
will need to be written again from scratch.
4) Factor out any useful bits of code that are shared between the two
implementations.
I'm working on (1) at the moment.
I think I know where I can find (2) (or at least find some poor sucker
to do it...). [This step might be unnecessary - I can't remember
whether the Xlib interface is complete enough.]
Sadly, we have no spare time to do (3) or (4) - and I suspect that we
won't find the time for quite a while. Anyone who wants to help
should get in touch with [EMAIL PROTECTED]
[btw If anyone's wondering why they haven't heard of Hugs 1.4 before,
it's because we're still at the beta release stage. You're welcome to
download it (from http://haskell.org/hugs) but we really recommend
that you stick with Haskell 1.3 if you need something reliable.]
--
Alastair Reid Yale Haskell Project Hacker
[EMAIL PROTECTED] http://WWW.CS.Yale.EDU/homes/reid-alastair/