aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-03-29 18:49:36 -0400
committerBen Gamari <ben@smart-cactus.org>2021-03-29 18:49:36 -0400
commit9809d1bd36812f757f71c13015d3186226e28f23 (patch)
tree02fca6ea5b52e92974f30cd6e3874fe5352ab382
parent7afbc6b0af2c350a96c56237f3c2d3f3de204195 (diff)
parent36418c4f70d7d2b179a77925b3ad5caedb08c9b5 (diff)
Merge commit '36418c4f70d7d2b179a77925b3ad5caedb08c9b5' into HEAD
-rw-r--r--html-test/ref/BundledPatterns.html2
-rw-r--r--html-test/ref/BundledPatterns2.html2
-rw-r--r--html-test/ref/Identifiers.html18
-rw-r--r--hypsrc-test/Main.hs2
4 files changed, 12 insertions, 12 deletions
diff --git a/html-test/ref/BundledPatterns.html b/html-test/ref/BundledPatterns.html
index 82f58e49..8ac16a68 100644
--- a/html-test/ref/BundledPatterns.html
+++ b/html-test/ref/BundledPatterns.html
@@ -152,7 +152,7 @@
> subscript starting from 0 and
ending at <code
><code
- ><a href="#" title="Data.List"
+ ><a href="#" title="Data.Foldable"
>length</a
></code
> - 1</code
diff --git a/html-test/ref/BundledPatterns2.html b/html-test/ref/BundledPatterns2.html
index 56a44f57..fff9d572 100644
--- a/html-test/ref/BundledPatterns2.html
+++ b/html-test/ref/BundledPatterns2.html
@@ -154,7 +154,7 @@
> subscript starting from 0 and
ending at <code
><code
- ><a href="#" title="Data.List"
+ ><a href="#" title="Data.Foldable"
>length</a
></code
> - 1</code
diff --git a/html-test/ref/Identifiers.html b/html-test/ref/Identifiers.html
index b7ca9296..b177266d 100644
--- a/html-test/ref/Identifiers.html
+++ b/html-test/ref/Identifiers.html
@@ -146,8 +146,8 @@
>++</a
></code
>, <code
- ><a href="#" title="Data.List"
- >elem</a
+ ><a href="#" title="Data.Foldable"
+ >Foldable</a
></code
></li
><li
@@ -168,8 +168,8 @@
>, <code
>++</code
>, <code
- ><a href="#" title="Data.List"
- >elem</a
+ ><a href="#" title="Data.Foldable"
+ >Foldable</a
></code
>, <code
>elem</code
@@ -237,23 +237,23 @@
><li
>Unqualified: <code
>1 <code
- ><a href="#" title="Data.List"
- >`elem`</a
+ ><a href="#" title="Data.Foldable"
+ >`Foldable`</a
></code
> [-3..3]</code
></li
><li
>Qualified: <code
>1 <code
- ><a href="#" title="Data.List"
+ ><a href="#" title="GHC.List"
>`elem`</a
></code
> [-3..3]</code
></li
><li
>Namespaced: <code
- ><a href="#" title="Data.List"
- >`elem`</a
+ ><a href="#" title="Data.Foldable"
+ >`Foldable`</a
></code
>, <code
>`elem`</code
diff --git a/hypsrc-test/Main.hs b/hypsrc-test/Main.hs
index f7614927..e7afb61c 100644
--- a/hypsrc-test/Main.hs
+++ b/hypsrc-test/Main.hs
@@ -2,7 +2,7 @@
import Data.Char
-import Data.List
+import Data.List (isPrefixOf)
import Data.Function (on)
import System.Environment