Hi, I have just downloaded the hugs which I intend to use to write demo programs for my my presentation. The problem is that I don,t really how to make full use of the graphical capabilities. Would you please sent me some information concerning this matter. I will be grateful if you also any demo programs that you thing will help me do a good presentation, I more than happy to accept. Do you have any manual, Test cases etc. Finally could you highlight any disadvantages of functional programming and any suggestiong to rectify thses problems. Thanks Emmanuel Berend Quarteyson
I have just downloaded the hugs [...] The problem is that I don,t really how to make full use of the graphical capabilities. Would you please sent me some information concerning this matter.
You could try my graphics library (http://haskell.org/graphics) which is used in Paul Hudak's textbook (http://haskell.org/soe). Code from Paul Hudak's book is included in the current distribution of the graphics library (in the demo directory). My library has fairly limited scope: it is mostly targeted at static pictures with a little support for animations and interactive drawing applications and absolutely no support for GUIs. This restriction makes the library simpler to understand - but may not be what you want. (I'm trying to improve support for animations, rubber-banding, etc. in response to a recent query but GUI support isn't likely to appear anytime soon.) Haskell.org (http://haskell.org/libraries/) lists some other libraries you might use: several GUI libraries, a GIF library, OpenGL bindings, etc. Hope this helps, Alastair Reid
participants (2)
-
Alastair Reid -
QUARTEYSON E.B. (152837)