[commit: ghc] master: Documentation: add section on .haskeline file (#2531) (b5a2e87)
git at git.haskell.org
git at git.haskell.org
Mon Jun 22 09:34:15 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/b5a2e8763fcf0e2b4c57e12f2b2e5817e5ce9df0/ghc
>---------------------------------------------------------------
commit b5a2e8763fcf0e2b4c57e12f2b2e5817e5ce9df0
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date: Sun Jun 21 20:56:56 2015 +0200
Documentation: add section on .haskeline file (#2531)
>---------------------------------------------------------------
b5a2e8763fcf0e2b4c57e12f2b2e5817e5ce9df0
docs/users_guide/ghci.xml | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml
index 627aa79..d3b65ef 100644
--- a/docs/users_guide/ghci.xml
+++ b/docs/users_guide/ghci.xml
@@ -3380,7 +3380,11 @@ Then the interactive options are modified as follows:
</sect1>
<sect1 id="ghci-dot-files">
- <title>The <filename>.ghci</filename> file</title>
+ <title>The <filename>.ghci</filename> and <filename>.haskeline</filename> files</title>
+
+ <sect2 id="dot-ghci-files">
+ <title>The <filename>.ghci</filename> files</title>
+
<indexterm><primary><filename>.ghci</filename></primary><secondary>file</secondary>
</indexterm>
<indexterm><primary>startup</primary><secondary>files, GHCi</secondary>
@@ -3536,6 +3540,21 @@ Then the interactive options are modified as follows:
</listitem>
</orderedlist>
</para>
+ </sect2>
+
+ <sect2 id="dot-haskeline-file">
+ <title>The <filename>.haskeline</filename> file</title>
+
+ <indexterm><primary><filename>.haskeline</filename></primary><secondary>file</secondary>
+ </indexterm>
+ <indexterm><primary>startup</primary><secondary>files, GHCi</secondary>
+ </indexterm>
+
+ GHCi uses <ulink url="https://hackage.haskell.org/package/haskeline">Haskeline</ulink>
+ under the hood. You can configure it to, among other things, prune
+ duplicates from ghci history. See:
+ <ulink url="http://trac.haskell.org/haskeline/wiki/UserPrefs">Haskeline user preferences</ulink>.
+ </sect2>
</sect1>
<sect1 id="ghci-obj">
More information about the ghc-commits
mailing list