From 7838253a7a27fa28f821d04c094276e8eb16e4af Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Tue, 16 May 2023 14:26:31 +0800 Subject: [PATCH] Add Eq and Ord instances to Note --- src/Error/Diagnose/Report/Internal.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Error/Diagnose/Report/Internal.hs b/src/Error/Diagnose/Report/Internal.hs index f667d0f..8d3568a 100644 --- a/src/Error/Diagnose/Report/Internal.hs +++ b/src/Error/Diagnose/Report/Internal.hs @@ -155,7 +155,7 @@ data Note msg Note msg | -- | A hint, to propose potential fixes or help towards fixing the issue. Hint msg - deriving (Functor, Foldable, Traversable) + deriving (Eq, Ord, Show, Functor, Foldable, Traversable) #ifdef USE_AESON instance ToJSON msg => ToJSON (Note msg) where