slow load and typecheck
sam.halliday at gmail.com
Tue Oct 8 14:37:34 UTC 2019
Brandon Allbery <allbery.b at gmail.com> writes:
> Cabal will build all that stuff the first time and then reuse it the next,
> so it's not quite the same thing. Since you told ghc no object code,
Sorry, I meant that I used targetAllowObjCode=True for everything,
except the file under inspection. Do you mean that if I used
targetAllowObjCode=False for just one module it will invalidate the
object code for everything it depends on? That is unexpected.
> In short, you may want to rethink this; ghc is a compiler, not an IDE, and
> doesn't quite work the way you had hoped.
How would you suggest rethinking it? Bare in mind that the api is
working exactly the way I want from a functional point of view (just
slow) with HscNothing... and seems to work exactly the way I want with
HscInterpreted (but with all the ghci caveats like unboxed tuples etc).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 194 bytes
Desc: not available
More information about the ghc-devs