[Haskell-cafe] SYB with class: Bug in Derive.hs module

2008-03-31 Thread Alexey Rodriguez Yakushev
Hi people (and Ralf and Alex), I found a bug in the SYB with class library when trying to implement generic equality. I am hoping that someone in the Cafe (maybe Ralf) can confirm it is a bug, or maybe show me that I am doing something wrong. I am using the Scrap your boilerplate with

Re: [Haskell-cafe] How Albus Dumbledore would sell Haskell

2007-04-25 Thread Alexey Rodriguez Yakushev
Since no one mentioned automatic differentiation (AD), I will. I think AD is a nice example of using type classes and higher order functions to get small and useful code. Maybe this example is not ideal for the audience, but anyway, Simon has the last word. Here is how demo would go:

Impressions on GHC debugger

2007-04-19 Thread Alexey Rodriguez Yakushev
Dear all, Yesterday I darcs-got the GHC HEAD to play with the debugger and I have the following impressions/bug/suggestions: * I would like to know whether I am debugging mode (i.e. in a breakpoint) or not. For example *Main -- normal prompt and, for example, *Main:[1] -- in

[Haskell-cafe] Using PAPI to measure performance with CPU events

2007-01-11 Thread Alexey Rodriguez Yakushev
Dear all, I have added a page to the GHC commentary explaining how to use the PAPI library together with GHC to gather performance information from your CPU (cache misses, branch misprediction). At present only cache miss information is supported in a platform independent way (though not

[Haskell-cafe] Re: Using PAPI to measure performance with CPU events

2007-01-11 Thread Alexey Rodriguez Yakushev
The URL might be useful to some :) http://hackage.haskell.org/trac/ghc/wiki/PAPI On Jan 11, 2007, at 17:10, Alexey Rodriguez Yakushev wrote: Dear all, I have added a page to the GHC commentary explaining how to use the PAPI library together with GHC to gather performance information

Re: Low-level Haskell profiling [Was: Re: [Haskell-cafe] Re: A suggestion for the next high profile Haskell project]

2006-12-21 Thread Alexey Rodriguez Yakushev
Hi Andy, On Dec 20, 2006, at 9:15, Andy Georges wrote: Well, AFAIK, PAPI abstracts away the platform dependencies quite well, so I guess your code can be run straightforward on all IA-32 platforms (depending on the events you wish to measure, which may or may not be present on all

Re: [Haskell-cafe] Re: A suggestion for the next high profile Haskell project

2006-12-19 Thread Alexey Rodriguez Yakushev
Andy, The GHC head can currently build against PAPI[1], a library for gathering CPU statistics. At the moment you can only gather such statistics for AMD Opteron but it shouldn't be difficult to port it to other CPUs after a bit of browsing around the PAPI docs. Installing PAPI requires

[Haskell] ANNOUNCE: Generic Haskell 1.60 (Diamond)

2006-10-11 Thread Alexey Rodriguez Yakushev
Generic Haskell version 1.60 (Diamond) We are happy to announce the fourth release of Generic Haskell, an extension of Haskell that facilitates generic programming. Generic Haskell includes the following features: * type-indexed

Re: [Haskell-cafe] Arrows for invertible programming: Notation, question

2005-12-29 Thread Alexey Rodriguez Yakushev
On Dec 23, 2005, at 11:53, Arjen wrote: On Fri, 23 Dec 2005, Joel Reymont wrote: Folks, I have been looking at the code for the Arrows for invertible programming paper (http://www.cs.ru.nl/A.vanWeelden/bi-arrows/) and I have a question about syntax. ghci surely does not like it. I've