[Haskell] O'Haskell -> Tk

Peter Padawitz peter.padawitz at udo.edu
Tue Jan 23 12:30:28 EST 2007

Does anybody know O'Haskell or Timber and its interface Tk.hs to Tcl/Tk 
(see here <http://fldit-www.cs.uni-dortmund.de/%7Epeter/tk.html>)?

I have the following problem:

Tk.hs <http://fldit-www.cs.uni-dortmund.de/%7Epeter/Tk.hs> contains a 
record (structure) /Canvas/ with selectors

line      :: [(Int,Int)]      -> [LineOpt]      -> Request Line
polygon   :: [(Int,Int)]      -> [PolygonOpt]   -> Request Polygon

that are compiled into synonymous Tk widgets for lines and polygons, respectively. Unfortunately, Tk.hs crashes if the point list parameter of line or polygon 
contains more than 100 points. Why??? 

Of course, one may split a point list into smaller ones that are compiled correctly. But this may not produce the same picture, for instance, if the entire list 
represents a polygon to be filled or a line to be smoothened.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell/attachments/20070123/8c1b84c8/attachment.htm

More information about the Haskell mailing list