From 9e6c68937b60cec4cd0b19a1476fbafef6d2fabe Mon Sep 17 00:00:00 2001
From: Simon Jakobi <simon.jakobi@gmail.com>
Date: Tue, 30 Apr 2019 01:24:47 +0200
Subject: [PATCH] Silence deprecation warnings for First, Last and Option

---
 Control/DeepSeq.hs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Control/DeepSeq.hs b/Control/DeepSeq.hs
index 523fe41..522cc95 100644
--- a/Control/DeepSeq.hs
+++ b/Control/DeepSeq.hs
@@ -16,6 +16,10 @@
 {-# LANGUAGE EmptyCase #-}
 #endif
 
+#if __GLASGOW_HASKELL__ >= 808
+{-# OPTIONS_GHC -Wno-deprecations #-} -- For the First, Last and Option instances
+#endif
+
 -----------------------------------------------------------------------------
 -- |
 -- Module      :  Control.DeepSeq
-- 
GitLab