aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Grenrus <oleg.grenrus@iki.fi>2021-03-20 03:48:13 +0200
committerOleg Grenrus <oleg.grenrus@iki.fi>2021-03-27 01:12:00 +0200
commit36418c4f70d7d2b179a77925b3ad5caedb08c9b5 (patch)
tree7398cf9167400d97f6510cfe7b9cc8c3e34c016c
parent3699d74aac686c1e071ab050456698ff2ea8c7df (diff)
Specialization of Data.List
-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