mirror of
https://github.com/Mesabloo/diagnose.git
synced 2024-09-11 11:26:56 +03:00
Functor, Foldable, Traversable instances for Report, Marker and Note
This commit is contained in:
parent
e4bc1849e5
commit
451d9838cf
@ -124,7 +124,7 @@ data Marker msg
|
|||||||
Maybe msg
|
Maybe msg
|
||||||
| -- | An empty marker, whose sole purpose is to include a line of code in the report without markers under.
|
| -- | An empty marker, whose sole purpose is to include a line of code in the report without markers under.
|
||||||
Blank
|
Blank
|
||||||
deriving (Functor, Eq, Ord)
|
deriving (Eq, Ord, Functor, Foldable, Traversable)
|
||||||
|
|
||||||
isBlank :: Marker msg -> Bool
|
isBlank :: Marker msg -> Bool
|
||||||
isBlank = \case
|
isBlank = \case
|
||||||
|
Loading…
Reference in New Issue
Block a user