From ee8e75231cd9d3d4aa3ffbbfa0e3b8511712e1ee Mon Sep 17 00:00:00 2001 From: William Carroll Date: Tue, 4 Aug 2020 09:19:48 +0100 Subject: Set -Wall and fix warnings I think setting -Wall is a sensible default and @dmjio confirmed this. After putting this in my project's .ghci file, a few dozen warnings emerged. This commit changes the code that causes the warnings. --- src/Utils.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Utils.hs') diff --git a/src/Utils.hs b/src/Utils.hs index 78ee93ec95de..48c33af0796d 100644 --- a/src/Utils.hs +++ b/src/Utils.hs @@ -5,4 +5,5 @@ import Data.Function ((&)) -------------------------------------------------------------------------------- -- | Prefer this operator to the ampersand for stylistic reasons. +(|>) :: a -> (a -> b) -> b (|>) = (&) -- cgit 1.4.1