Re: [Haskell-cafe] Module names from a function name

2013-08-08 Thread Roman Cheplyaka
Hi, You can easily do this using the haskell-names library. See http://documentup.com/haskell-suite/haskell-names Roman * Jong-won Choi oz.jongwon.c...@gmail.com [2013-08-08 12:34:44+1000] Hi, I asked this question to beginner mailing list and no luck so far, so I'm trying here. How can

[Haskell-cafe] Module names from a function name

2013-08-07 Thread Jong-won Choi
Hi, I asked this question to beginner mailing list and no luck so far, so I'm trying here. How can I get all the module names which (re-)export a given function name? I'd like to fix Emacs Haskell mode - interactive documentation browser and I need the list of such module names. Thanks!

Re: [Haskell-cafe] Module names from a function name

2013-08-07 Thread Jong-won Choi
Thanks for the suggestion, but I am looking for a programmatic way. Is module in Haskell first class object? Does it maintain function names which are exported? On 08/08/13 12:41, Patrick Mylund Nielsen wrote: hoogle function name after running cabal install hoogle and hoogle data On Aug

[Haskell-cafe] module names

2005-12-15 Thread Scherrer, Chad
Something about the way module names are specified in a file seems really strange to me. When I first started learning Haskell (I had used OCaml previously), I tried things like module Main where import A import B main = A.f B.f module A where f = ... module B where f =

Re: [Haskell-cafe] module names

2005-12-15 Thread Ketil Malde
Scherrer, Chad [EMAIL PROTECTED] writes: module Main where module A where module B where in a single file. This example is straight from chapter 5 of the Report, and no mention is made (that I could find) about modules needing to be in separate files. But this won't load in ghci!