From 90ad5bc45ef850a33f0a2c5b49eac0d74ec24f81 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Wed, 30 May 2018 10:37:16 -0400 Subject: [PATCH] Add a hint about maybeM. --- HLint.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HLint.hs b/HLint.hs index f0efa0933..e02ff38b5 100644 --- a/HLint.hs +++ b/HLint.hs @@ -31,3 +31,5 @@ error "avoid init" = init error "avoid last" = last where note = "last is partial; consider pattern-matching" + +error "use maybeM" = maybe a pure ==> maybeM a