Commit ce9b459d authored by Mathieu Boespflug's avatar Mathieu Boespflug Committed by Ben Gamari

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)
parent 8b357c6a
......@@ -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
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