Skip to content

Commit

Permalink
Extra instances for Style
Browse files Browse the repository at this point in the history
  • Loading branch information
georgefst committed Aug 20, 2020
1 parent 06a7806 commit e05d071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Text/Pretty/Simple/Internal/Color.hs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ data Style = Style
, styleItalic :: Bool
, styleUnderlined :: Bool
}
deriving (Eq, Show)
deriving (Eq, Generic, Show, Typeable)

color :: Intensity -> Color -> Style
color i c = colorNull {styleColor = Just (c, i)}
Expand Down

0 comments on commit e05d071

Please sign in to comment.