Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
b076d3ca
Commit
b076d3ca
authored
Jun 21, 2018
by
Merijn Verstraaten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readthedocs.io documentation for new-repl
[ci skip]
parent
ccdec94b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
Cabal/doc/nix-local-build.rst
Cabal/doc/nix-local-build.rst
+9
-2
No files found.
Cabal/doc/nix-local-build.rst
View file @
b076d3ca
...
...
@@ -362,8 +362,15 @@ cabal new-repl
--------------
``
cabal
new
-
repl
TARGET
``
loads
all
of
the
modules
of
the
target
into
GHCi
as
interpreted
bytecode
.
It
takes
the
same
flags
as
``
cabal
new
-
build
``.
GHCi
as
interpreted
bytecode
.
In
addition
to
the
``
cabal
new
-
build
``
's flags,
it takes an additional ``--repl-options`` flags.
To avoid ``ghci`` specific flags from triggering unneeded global rebuilds these
flags are now stripped from ``ghc-options``. As a result ``--ghc-options`` will
no longer (reliably) work to pass flags to ``ghci`` (or other repls). Instead,
you should use the new ``--repl-options`` flag to specify these options to the
invoked repl. (This flags also works on ``cabal repl`` and ``Setup repl`` on
sufficiently new versions)
Currently, it is not supported to pass multiple targets to ``new-repl``
(``new-repl`` will just successively open a separate GHCi session for
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment