From a75219e5256b0cb4c339ed4f259b9a49269a5663 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Mon, 17 Feb 2020 12:44:38 -0800 Subject: [PATCH] Remove unused instance Ord Replacement (fixes #1829) --- src/ShellCheck/Interface.hs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ShellCheck/Interface.hs b/src/ShellCheck/Interface.hs index e51359e..85d25c0 100644 --- a/src/ShellCheck/Interface.hs +++ b/src/ShellCheck/Interface.hs @@ -256,9 +256,6 @@ data Replacement = Replacement { data InsertionPoint = InsertBefore | InsertAfter deriving (Show, Eq, Generic, NFData) -instance Ord Replacement where - compare r1 r2 = (repStartPos r1) `compare` (repStartPos r2) - newReplacement = Replacement { repStartPos = newPosition, repEndPos = newPosition,