Commit 6369aab2 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)
(cherry picked from commit ce9b459d)
parent b4302fd5
......@@ -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