summaryrefslogtreecommitdiff
path: root/src/Lib.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Lib.hs')
-rw-r--r--src/Lib.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Lib.hs b/src/Lib.hs
index 629ed4f..6842144 100644
--- a/src/Lib.hs
+++ b/src/Lib.hs
@@ -822,6 +822,7 @@ headMay [] = Nothing
headMay (x:_) = Just x
data HeadException = HeadException deriving (Show)
+
instance E.Exception HeadException
mustHead :: [a] -> IO a