Viewing profiles with daVinci (uDraw)

2005-04-13 Thread Bernd Holzmüller
Hi all, I am trying to create graphical profile information via +RTS -px and then ghcprof .prof. However, the uDraw application (former: daVinci) complains: "Option -startappl requires exactly two arguments ( )". Any idea? Thanks, Bernd ___ Glasgow-has

build error for ghc 6.4 on Solaris

2005-04-13 Thread Martin Preen
Hello, I get the following error when building ghc 6.4 on Solaris 9. Any ideas how to solve this ? Thanks in advance. Martin ... grep -v '^#pragma GCC' | \ sed -e 's/""//g' -e 's/:[ ]*,/: /g' >package.conf.installed ../utils/ghc-pkg/ghc-pkg-inplace --force --update-package http://www.haskel

[ ghc-Feature Requests-1084122 ] RPM doesn't support --prefix

2005-04-13 Thread SourceForge.net
Feature Requests item #1084122, was opened at 2004-12-12 17:54 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=358032&aid=1084122&group_id=8032 Category: None Group: None Status: Open Priority: 5 Submitted

RE: Viewing profiles with daVinci (uDraw)

2005-04-13 Thread Simon Marlow
On 13 April 2005 14:00, Bernd Holzmüller wrote: > I am trying to create graphical profile information via +RTS -px and > then ghcprof .prof. > However, the uDraw application (former: daVinci) complains: "Option > -startappl requires exactly two arguments ( )". > Any idea? You might be the first p

Re: Viewing profiles with daVinci (uDraw)

2005-04-13 Thread Christian Maeder
ghcprof should be adapted to the new release of uDraw(Graph) http://www.informatik.uni-bremen.de/uDrawGraph Who maintains ghcprof? (What has cgprof to do with it?) Christian Simon Marlow wrote: > On 13 April 2005 14:00, Bernd Holzmüller wrote: > >>I am trying to create graphical profile inform

RE: Viewing profiles with daVinci (uDraw)

2005-04-13 Thread Simon Marlow
Oops, cgprof is a program used internally by ghcprof. Just shows how much I know about it! Cheers, Simon On 13 April 2005 16:37, Christian Maeder wrote: > ghcprof should be adapted to the new release of uDraw(Graph) > http://www.informatik.uni-bremen.de/uDrawGraph > > Who maintains gh

IO and STM

2005-04-13 Thread Robert van Herk
Hi all, I have a question about IO in a STM transaction. I want to make an atomic algorithm that does the following: 1. read an IORef 2. write some changes to the value you get from 1 3. save the IORef again Currently, I did this, roughly like this: doSomething :: IORef [s] -> s -> IO () doSomethin

Re: IO and STM

2005-04-13 Thread Lemmih
On 4/13/05, Robert van Herk <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a question about IO in a STM transaction. > > I want to make an atomic algorithm that does the following: > > 1. read an IORef > 2. write some changes to the value you get from 1 > 3. save the IORef again > > Currently,

Re: IO and STM

2005-04-13 Thread Robert van Herk
You probably wanna use TVars instead of IORefs. I would suggest reading the STM paper at research.microsoft.com/~simonpj/papers/stm/stm.ps, if you haven't already. ah, I read about them, and than forgot all about them again :-). Guess will have to read about 'em again. Thanks! Robert