summaryrefslogtreecommitdiff
path: root/src/Language/GraphQL/AST/Lexer.hs
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-01-18 16:33:13 +0100
committerEugen Wissner <belka@caraus.de>2025-01-18 16:33:13 +0100
commit663e4f35213ac486ffbb86a76877fcac7b58a1e8 (patch)
tree81a4967d87f2e4a31007a8d38ca391bd1b0580f4 /src/Language/GraphQL/AST/Lexer.hs
parent324a4c55ff1d1747af5050c2e576971ba9639230 (diff)
downloadgraphql-663e4f35213ac486ffbb86a76877fcac7b58a1e8.tar.gz
Make the lexer and parser safe
Diffstat (limited to 'src/Language/GraphQL/AST/Lexer.hs')
-rw-r--r--src/Language/GraphQL/AST/Lexer.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Language/GraphQL/AST/Lexer.hs b/src/Language/GraphQL/AST/Lexer.hs
index 62cf4d2..123383b 100644
--- a/src/Language/GraphQL/AST/Lexer.hs
+++ b/src/Language/GraphQL/AST/Lexer.hs
@@ -1,5 +1,7 @@
{-# LANGUAGE ExplicitForAll #-}
{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE NoGeneralizedNewtypeDeriving #-}
+{-# LANGUAGE Safe #-}
-- | This module defines a bunch of small parsers used to parse individual
-- lexemes.