summaryrefslogtreecommitdiff
path: root/docs/users_guide
diff options
context:
space:
mode:
authorMathieu Boespflug <m@tweag.io>2018-07-21 13:48:33 +0200
committerBen Gamari <ben@smart-cactus.org>2018-08-06 17:53:14 -0400
commitce9b459de30e15f2d65518ca12974a692256d477 (patch)
tree9bbd02eeca9f960752e4d6dd7d9bac68e39a4777 /docs/users_guide
parent8b357c6ad17bfe802c4a818b0cd7440bced024a3 (diff)
downloadhaskell-ce9b459de30e15f2d65518ca12974a692256d477.tar.gz
docs: Fix wrong module name in hsig example
In the module signatures section, two modules were defined, `Str` and `A`, but `A` was importing `Text`, not `Str`. (cherry picked from commit 26ab3635ca342c88310321d7f310f1c12c23ec4c)
Diffstat (limited to 'docs/users_guide')
-rw-r--r--docs/users_guide/separate_compilation.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/separate_compilation.rst b/docs/users_guide/separate_compilation.rst
index 71a1a46d1b..613e4de191 100644
--- a/docs/users_guide/separate_compilation.rst
+++ b/docs/users_guide/separate_compilation.rst
@@ -790,7 +790,7 @@ be able to pick a particular implementation of strings::
toString s = s
module A where
- import Text
+ import Str
z = toString empty
By replacing ``Str.hs`` with a signature ``Str.hsig``, ``A`` (and