Re: Lookup module and package defining x?

2006-08-08 Thread Marc Weber
$ghc-pkg --where-from ParseError package parsec: defining modules: Text.ParserCombinators.Parsec.Error, Text.ParserCombinators.Parsec ? This is what I've done by now... It took me some days to notice that the ./ghc-pkg symlinks to ghc-pkg-6.5 which calls the ghc-pkg from /usr/lib/...

Re: Lookup module and package defining x?

2006-07-24 Thread Simon Marlow
Malcolm Wallace wrote: Marc Weber [EMAIL PROTECTED] wrote: That's why I thought it might be best to integrate it into ghc? This kind of tool, though useful, has almost nothing in common with the compiler. Not the compiler, but the interactive environment perhaps... Although I suppose

Lookup module and package defining x?

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

Re: Lookup module and package defining x?

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/

Re: Lookup module and package defining x?

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, ...) ? My

Re: Lookup module and package defining x?

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 give

Re: Lookup module and package defining x?

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

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

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 to