RE: [Haskell-cafe] Grouping and SIMD in parallel Haskell (using Nested Data Parallel Haskell ideas in legacy code)

2009-08-18 Thread Zefirov Sergey
-Original Message- From: Eugene Kirpichov [mailto:ekirpic...@gmail.com] Sent: Tuesday, August 18, 2009 11:28 AM To: Zefirov Sergey Cc: haskell-cafe@haskell.org Subject: Re: [Haskell-cafe] Grouping and SIMD in parallel Haskell (using Nested Data Parallel Haskell ideas in legacy code

[Haskell-cafe] Looking up functions inQ monad (Template Haskell).

2009-08-18 Thread Zefirov Sergey
Why isn't possible to lookup and call user-defined functions while performing Template Haskell actions? Just like the way Template Haskell looks up and calls 'f' in $(f ...). 'f' gets looked up and called. And user of Q monad cannot do that. A colleague of mine, a Lisp user, says that almost

[Haskell-cafe] Grouping and SIMD in parallel Haskell (using Nested Data Parallel Haskell ideas in legacy code)

2009-08-17 Thread Zefirov Sergey
I haven't had enough time to polish a paper about the subject, so I decided to post my results here, in Haskell Café. When Simon Peyton-Jones was in Moscow about a month ago I made a bold statement that Parallel Haskell programs, expressed with the help of par and pseq, can be transformed into

[Haskell-cafe] gtk2hs, TreeView and CellRenderer

2009-05-28 Thread Zefirov Sergey
As far as I can tell, there is not way to create CellRenderer that could include icons with the text (I think it is because of incompatibilities of Haskell type classes and Gtk inheritance hierarchy). Is it a good way to use CellRendererPixbuf and render to pixbufs using Cairo? I think my