Skip to content

Commit 2bb1c95

Browse files
committed
Update use of Fail to use Text :: Symbol -> Doc
1 parent f2f3ec1 commit 2bb1c95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Data/List/ZipList.purs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Data.List.ZipList
66
) where
77

88
import Prelude
9-
import Prim.TypeError (class Fail)
9+
import Prim.TypeError (class Fail, Text)
1010
import Control.Alt (class Alt)
1111
import Control.Alternative (class Alternative)
1212
import Control.Plus (class Plus)
@@ -55,12 +55,12 @@ instance plusZipList :: Plus ZipList where
5555
instance alternativeZipList :: Alternative ZipList
5656

5757
instance zipListIsNotBind
58-
:: Fail """
58+
:: Fail (Text """
5959
ZipList is not Bind. Any implementation would break the associativity law.
6060
6161
Possible alternatives:
6262
Data.List.List
6363
Data.List.Lazy.List
64-
"""
64+
""")
6565
=> Bind ZipList where
6666
bind = unsafeCrashWith "bind: unreachable"

0 commit comments

Comments
 (0)