[Git][ghc/ghc][master] Update using.rst to advertise full mhu support for GHCi

Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: a5e0c3a3 by fendor at 2025-06-18T15:36:59-04:00 Update using.rst to advertise full mhu support for GHCi - - - - - 1 changed file: - docs/users_guide/using.rst Changes: ===================================== docs/users_guide/using.rst ===================================== @@ -835,8 +835,12 @@ pass to ``--make`` mode. Then when the compiler starts in ``--make`` mode it will compile both units ``a`` and ``b``. -There is also very basic support for multiple home units in GHCi, at the moment you can start -a GHCi session with multiple units but only the `:reload`:ghci-cmd: is supported. +GHCi has full support for multiple home units. +Multiple home units can be given via the `-unit @⟨filename⟩`:ghc-flag:. + +.. code-block:: none + + ghc --interactive -unit @unitA -unit @unitB .. ghc-flag:: -unit @⟨filename⟩ :shortdesc: Specify the options to build a specific unit. View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a5e0c3a37ab94bb1d721b82f7a0bb09a... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a5e0c3a37ab94bb1d721b82f7a0bb09a... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)