Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
-
a5e0c3a3
by fendor at 2025-06-18T15:36:59-04:00
1 changed file:
Changes:
| ... | ... | @@ -835,8 +835,12 @@ pass to ``--make`` mode. |
| 835 | 835 | |
| 836 | 836 | Then when the compiler starts in ``--make`` mode it will compile both units ``a`` and ``b``.
|
| 837 | 837 | |
| 838 | -There is also very basic support for multiple home units in GHCi, at the moment you can start
|
|
| 839 | -a GHCi session with multiple units but only the `:reload`:ghci-cmd: is supported.
|
|
| 838 | +GHCi has full support for multiple home units.
|
|
| 839 | +Multiple home units can be given via the `-unit @⟨filename⟩`:ghc-flag:.
|
|
| 840 | + |
|
| 841 | +.. code-block:: none
|
|
| 842 | + |
|
| 843 | + ghc --interactive -unit @unitA -unit @unitB
|
|
| 840 | 844 | |
| 841 | 845 | .. ghc-flag:: -unit @⟨filename⟩
|
| 842 | 846 | :shortdesc: Specify the options to build a specific unit.
|