We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67a45a4 commit 0530486Copy full SHA for 0530486
tests/filepath-equivalent-tests/TestEquiv.hs
@@ -37,6 +37,10 @@ instance {-# OVERLAPPABLE #-} Show a => AltShow a where
37
instance {-# OVERLAPS #-} AltShow String where
38
altShow = id
39
40
+instance {-# OVERLAPPABLE #-} AltShow a => AltShow (Maybe a) where
41
+ altShow Nothing = ""
42
+ altShow (Just a) = altShow a
43
+
44
45
newtype WindowsFilePaths = WindowsFilePaths { unWindowsFilePaths :: [WindowsFilePath] }
46
deriving (Show, Eq, Ord, Generic)
0 commit comments