File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 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
5050derive instance newtypePattern :: Newtype Pattern _
5151
5252instance showPattern :: Show Pattern where
53- show (Pattern s) = " (Pattern " <> s <> " )"
53+ show (Pattern s) = " (Pattern " <> show s <> " )"
5454
5555-- | A newtype used in cases to specify a replacement for a pattern.
5656newtype Replacement = Replacement String
@@ -60,7 +60,7 @@ derive instance ordReplacement :: Ord Replacement
6060derive instance newtypeReplacement :: Newtype Replacement _
6161
6262instance showReplacement :: Show Replacement where
63- show (Replacement s) = " (Replacement " <> s <> " )"
63+ show (Replacement s) = " (Replacement " <> show s <> " )"
6464
6565-- | Returns the character at the given index, if the index is within bounds.
6666charAt :: Int -> String -> Maybe Char
Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ instance ordCaseInsensitiveString :: Ord CaseInsensitiveString where
1717 compare (toLower s1) (toLower s2)
1818
1919instance showCaseInsensitiveString :: Show CaseInsensitiveString where
20- show (CaseInsensitiveString s) = " (CaseInsensitiveString " <> s <> " )"
20+ show (CaseInsensitiveString s) = " (CaseInsensitiveString " <> show s <> " )"
2121
2222derive instance newtypeCaseInsensitiveString :: Newtype CaseInsensitiveString _
You can’t perform that action at this time.
0 commit comments