Commit 7cddcde5 authored by thomie's avatar thomie
Browse files

Docs: -interactive-print should reside in registered package

Since commit 03c4893e, ic_int_print is
retained from registered packages after `:reload`.

Fixes #11159.
parent f141f416
...@@ -1068,7 +1068,9 @@ contains strings with non-ascii characters. ...@@ -1068,7 +1068,9 @@ contains strings with non-ascii characters.
The ``-interactive-print`` flag allows to specify any function of type The ``-interactive-print`` flag allows to specify any function of type
``C a => a -> IO ()``, for some constraint ``C``, as the function for ``C a => a -> IO ()``, for some constraint ``C``, as the function for
printing evaluated expressions. The function can reside in any loaded printing evaluated expressions. The function can reside in any loaded
module or any registered package. module or any registered package, but only when it resides in a registered
package will it survive a ``:cd``, ``:add``, ``:load``, ``:reload`` or
``:set``.
As an example, suppose we have following special printing module: As an example, suppose we have following special printing module:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment