regex.h included with GHC 6.4.2

2006-07-21 Thread Rich Fought
Am I crazy or is there an error in regex.h included with GHC? On line 110 there appears to be an extraneous or unterminated 'extern "C" {' Regards, Rich ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mai

Re: Heap Profiling Question

2006-07-21 Thread Rich Fought
On a separate issue, I can't seem to get the -hcname or -hmname options to work. For instance, profiling with just -hm yields an entry for module Network.HTTP, yet when I try to profile again with -hmNetwork.HTTP, I do not get a heap dump. Is there some special formatting I am missing? Than

Re[2]: Lookup module and package defining <?

2006-07-21 Thread Bulat Ziganshin
Hello Marc, Friday, July 21, 2006, 3:21:29 PM, you wrote: > I don't know wether you've ever prorgammed in Java using Eclipse? > After using a type you can press C-S-o to update all imports which will > give you the choice which one to use if there is more than one > opportunity. It would be nice

Re: Heap Profiling Question

2006-07-21 Thread Rich Fought
Simon Marlow wrote: IIRC the timestamps ignore time spent in GC and time spent sampling the heap, so they measure runtime of the program only. So if I have a server that is idle most of the time waiting for requests, the timestamps recorded in the heap profile will not be "real time" but prog

Re: Lookup module and package defining <?

2006-07-21 Thread Neil Mitchell
Hi, My purpose: After having found the a function I want to use it without having to search where does it belong to and where does it come from. I'm not sure what you are asking for? Where does it come from? Surely thats just the module name - which hoogle easily gives you. If there is some inf

Re: Lookup module and package defining <?

2006-07-21 Thread Malcolm Wallace
Marc Weber <[EMAIL PROTECTED]> wrote: > My purpose: After having found the a function I want to use it without > having to search where does it belong to and where does it come from. > I want it beeing as up to date as the installed libraries. You can download Hoogle as a command-line tool, and g

Re: Lookup module and package defining <?

2006-07-21 Thread Marc Weber
> > $ghc-pkg --where-from ParseError > > package parsec: defining modules: Text.ParserCombinators.Parsec.Error, > > Text.ParserCombinators.Parsec > > Have you tried Hoogle? > http://haskell.org/hoogle/ I know it. But I don't know yet which source it takes (haskell - source, haddck html files, ...

Re: Heap Profiling Question

2006-07-21 Thread Simon Marlow
Rich Fought wrote: I'm trying to use heap profiling with +RTS -hc -i1 options and running my program for about 30 seconds. However, I only get around 7 samples with seemingly bogus timetags (i.e. 0.00, 3.69, 3.73, 3.10, 4.05, 4.12). What's going on? I'm running GHC 6.4.2 on Windows (MSYS/Mi

Re: Lookup module and package defining <?

2006-07-21 Thread Duncan Coutts
On Fri, 2006-07-21 at 10:12 +0200, Marc Weber wrote: > Has somene already implemented something like: > > $ghc-pkg --where-from ParseError > package parsec: defining modules: Text.ParserCombinators.Parsec.Error, > Text.ParserCombinators.Parsec Have you tried Hoogle? http://haskell.org/hoogle/

Lookup module and package defining <?

2006-07-21 Thread Marc Weber
Has somene already implemented something like: $ghc-pkg --where-from ParseError package parsec: defining modules: Text.ParserCombinators.Parsec.Error, Text.ParserCombinators.Parsec ? lambdabot @index does what I want, but not with my libs installed only locally.. This might be used by any deve