From dbaadbaf41bbe29337434a48b3217df41ebbf556 Mon Sep 17 00:00:00 2001 From: Mitchell Rosen Date: Tue, 14 Nov 2023 21:39:05 -0500 Subject: [PATCH] remove another silly Ord instance --- termbox-bindings-hs/CHANGELOG.md | 2 +- .../src/Termbox/Bindings/Hs/Internal/OutputMode.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/termbox-bindings-hs/CHANGELOG.md b/termbox-bindings-hs/CHANGELOG.md index 2ab8ccd..febfbcc 100644 --- a/termbox-bindings-hs/CHANGELOG.md +++ b/termbox-bindings-hs/CHANGELOG.md @@ -9,7 +9,7 @@ - Improve `Show` instance of `Tb_event_mod`, `Tb_input_mode` - Add `Exception` instance for `Tb_init_error` - Remove `tb_attr` -- Remove `Ord` instances of `Tb_cell`, `Tb_event`, `Tb_event_mod`, `Tb_event_type`, `Tb_init_error` +- Remove `Ord` instances of `Tb_cell`, `Tb_event`, `Tb_event_mod`, `Tb_event_type`, `Tb_init_error`, `Tb_input_mode`, `Tb_output_mode` ## [0.1.1] - November 5, 2023 diff --git a/termbox-bindings-hs/src/Termbox/Bindings/Hs/Internal/OutputMode.hs b/termbox-bindings-hs/src/Termbox/Bindings/Hs/Internal/OutputMode.hs index 20fa882..b9fb665 100644 --- a/termbox-bindings-hs/src/Termbox/Bindings/Hs/Internal/OutputMode.hs +++ b/termbox-bindings-hs/src/Termbox/Bindings/Hs/Internal/OutputMode.hs @@ -20,7 +20,7 @@ import Termbox.Bindings.C -- | The output mode. newtype Tb_output_mode = Tb_output_mode CInt - deriving stock (Eq, Ord) + deriving stock (Eq) instance Show Tb_output_mode where show = \case