On Tue, Jun 19, 2012 at 8:54 AM, Johan Tibell <johan.tibell@gmail.com> wrote:
Hi!Good point. For the use case mentioned above, any quick and dirty heuristic that works most of the time would be sufficient, though.In addition, I don't know how to implement this function correctly.
For example, if you alias ghc to another name the heuristic in the
executable-path package fails:
Ideally, Haskell interpreters would set an environment variable when they interpret a source file.Since* we can't implement this reliably,* the distinction into these three groups doesn't necessarily work for all compilers, and* the distinction (I assume) isn't useful in most use cases