From faf75f4fe7dd15478296ab4ba03dbf881b6b8f61 Mon Sep 17 00:00:00 2001 From: justin Date: Tue, 23 Aug 2022 08:15:07 +0100 Subject: [PATCH] Tweak warnings --- package.yaml | 2 ++ src/Quaternion.hs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.yaml b/package.yaml index d0c96290a..dfb82f7f6 100644 --- a/package.yaml +++ b/package.yaml @@ -96,6 +96,8 @@ executables: - -fllvm - -optlo-O3 - -Wall + #- -Wcompat + #- -Wincomplete-record-updates #- -Wincomplete-uni-patterns - -Widentities - -Wredundant-constraints diff --git a/src/Quaternion.hs b/src/Quaternion.hs index af149cd58..d8fa99e88 100644 --- a/src/Quaternion.hs +++ b/src/Quaternion.hs @@ -1,6 +1,6 @@ -{-# LANGUAGE DeriveAnyClass #-} +--{-# LANGUAGE DeriveAnyClass #-} --{-# LANGUAGE DeriveGeneric #-} -{-# LANGUAGE StandaloneDeriving #-} +--{-# LANGUAGE StandaloneDeriving #-} --{-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE ScopedTypeVariables #-} {-# OPTIONS_GHC -fno-warn-orphans #-}