From 68566ca5a376f8508fdd1c5eff3155cde7929850 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Mon, 12 Feb 2024 10:05:02 +0100 Subject: refactor `Query` --- json2sql.cabal | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'json2sql.cabal') diff --git a/json2sql.cabal b/json2sql.cabal index aab906b..1cfd4da 100644 --- a/json2sql.cabal +++ b/json2sql.cabal @@ -12,17 +12,21 @@ build-type: Simple extra-doc-files: CHANGELOG.md -- extra-source-files: -common warnings - ghc-options: -Wall - executable json2sql - import: warnings + ghc-options: + -Wall + -fno-warn-incomplete-patterns + -fno-warn-name-shadowing main-is: Main.hs other-modules: Debug Exception - Field - Record + Query + Query.Field + Query.Parser + Query.Printer + Query.Record + Query.Type Store -- other-extensions: build-depends: base ^>=4.16.4.0, @@ -46,3 +50,11 @@ executable json2sql vector hs-source-dirs: app default-language: GHC2021 + default-extensions: + AllowAmbiguousTypes + BlockArguments + GeneralizedNewtypeDeriving + OverloadedRecordDot + OverloadedStrings + ViewPatterns + -- cgit v1.2.3