Hey! Digging up this thread to mention that I've just merged this PR which has the side effect of making mappings from ModuleName to filepath available in stack's API https://github.com/commercialhaskell/stack/pull/3779/files
-Michael On Monday, December 18, 2017 at 1:47:26 PM UTC-8, Csaba Hruska wrote: > > Hi, > > I am experimenting with a tool and I need some help or advice. > Assuming a stack based project what is the simplest way to retrieve the > source code for a module from the module name? > The module source code should be the same that GHC used when compiled the > project. > I'd like to retrieve the source code for both local and stackage modules. > > Thanks, > Csaba Hruska > -- You received this message because you are subscribed to the Google Groups "haskell-stack" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/6298a36d-e220-40b1-b8cc-dfd070b08af9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
