Skip to content
Snippets Groups Projects
Unverified Commit 05304865 authored by Julian Ospald's avatar Julian Ospald :tea:
Browse files

Fix AltShow Maybe instance

parent 67a45a48
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,10 @@ instance {-# OVERLAPPABLE #-} Show a => AltShow a where
instance {-# OVERLAPS #-} AltShow String where
altShow = id
instance {-# OVERLAPPABLE #-} AltShow a => AltShow (Maybe a) where
altShow Nothing = ""
altShow (Just a) = altShow a
newtype WindowsFilePaths = WindowsFilePaths { unWindowsFilePaths :: [WindowsFilePath] }
deriving (Show, Eq, Ord, Generic)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment