File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ derive instance ordPattern :: Ord Pattern
50
50
derive instance newtypePattern :: Newtype Pattern _
51
51
52
52
instance showPattern :: Show Pattern where
53
- show (Pattern s) = " (Pattern " <> s <> " )"
53
+ show (Pattern s) = " (Pattern " <> show s <> " )"
54
54
55
55
-- | A newtype used in cases to specify a replacement for a pattern.
56
56
newtype Replacement = Replacement String
@@ -60,7 +60,7 @@ derive instance ordReplacement :: Ord Replacement
60
60
derive instance newtypeReplacement :: Newtype Replacement _
61
61
62
62
instance showReplacement :: Show Replacement where
63
- show (Replacement s) = " (Replacement " <> s <> " )"
63
+ show (Replacement s) = " (Replacement " <> show s <> " )"
64
64
65
65
-- | Returns the character at the given index, if the index is within bounds.
66
66
charAt :: Int -> String -> Maybe Char
Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ instance ordCaseInsensitiveString :: Ord CaseInsensitiveString where
17
17
compare (toLower s1) (toLower s2)
18
18
19
19
instance showCaseInsensitiveString :: Show CaseInsensitiveString where
20
- show (CaseInsensitiveString s) = " (CaseInsensitiveString " <> s <> " )"
20
+ show (CaseInsensitiveString s) = " (CaseInsensitiveString " <> show s <> " )"
21
21
22
22
derive instance newtypeCaseInsensitiveString :: Newtype CaseInsensitiveString _
You can’t perform that action at this time.
0 commit comments