about summary refs log tree commit diff
path: root/src/Utils.hs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-04T08·19+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-04T08·19+0100
commitee8e75231cd9d3d4aa3ffbbfa0e3b8511712e1ee (patch)
tree6264013fea0cfc8489f3d9f24cdc7ae1d63a9f50 /src/Utils.hs
parent9a19942c037ec62700c41c235154ff38816c0a3a (diff)
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.
Diffstat (limited to 'src/Utils.hs')
-rw-r--r--src/Utils.hs1
1 files changed, 1 insertions, 0 deletions
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
 (|>) = (&)