:! ghc -c vs :c
Simon Marlow
simonmar@microsoft.com
Thu, 26 Apr 2001 09:49:00 +0100
> The ghc interactive ghci compiles the module by the command
> =20
> :! ghc -c=20
>=20
> Has it sense to provide a command :compile (:c),
>=20
> having a meaningful name and a format similar to other commands,
> like say :load
> ?
Yes, this is another thing we'd like to do, but haven't got around to
yet. (you can always define your own :compile command using :def of
course, but the benefit of a built-in one would be that it could take
advantage of the in-memroy interfaces rather than reading them from the
disk).
Cheers,
Simon