diff --git a/mig/mig.cabal b/mig/mig.cabal index 90f44cc..7d114cc 100644 --- a/mig/mig.cabal +++ b/mig/mig.cabal @@ -5,7 +5,7 @@ cabal-version: 1.12 -- see: https://github.com/sol/hpack name: mig -version: 0.2.0.0 +version: 0.2.0.1 synopsis: Build lightweight and composable servers description: The Core for the mig server library. With library mig we can build lightweight and composable servers. @@ -68,6 +68,7 @@ library DerivingStrategies StrictData AllowAmbiguousTypes + DataKinds ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wunused-packages build-depends: aeson @@ -114,6 +115,7 @@ test-suite mig-test DerivingStrategies StrictData AllowAmbiguousTypes + DataKinds ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -Wunused-packages -threaded -rtsopts -with-rtsopts=-N build-depends: aeson diff --git a/mig/package.yaml b/mig/package.yaml index 39fdbe0..78b1ec8 100644 --- a/mig/package.yaml +++ b/mig/package.yaml @@ -1,5 +1,5 @@ name: mig -version: 0.2.0.0 +version: 0.2.0.1 github: "anton-k/mig" license: BSD3 author: "Anton Kholomiov" @@ -40,6 +40,7 @@ default-extensions: - DerivingStrategies - StrictData - AllowAmbiguousTypes + - DataKinds language: GHC2021 diff --git a/mig/test/Test/Server/Counter.hs b/mig/test/Test/Server/Counter.hs index eea5d08..3611f4c 100644 --- a/mig/test/Test/Server/Counter.hs +++ b/mig/test/Test/Server/Counter.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE DataKinds #-} - -- | Test case for ReaderT based server module Test.Server.Counter (spec) where diff --git a/mig/test/Test/Server/RouteArgs.hs b/mig/test/Test/Server/RouteArgs.hs index 8ab88e4..74331c7 100644 --- a/mig/test/Test/Server/RouteArgs.hs +++ b/mig/test/Test/Server/RouteArgs.hs @@ -1,4 +1,3 @@ -{-# LANGUAGE DataKinds #-} {-# LANGUAGE DeriveAnyClass #-} -- | Tests for various inputs for requests diff --git a/stack.yaml b/stack.yaml index 7e4599a..7cc2e41 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,5 +1,6 @@ -resolver: - url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/5.yaml +resolver: nightly-2023-11-04 # ghc-9.6.3 +# lts-21.19 # ghc-9.4.7 +# lts-20.0 # ghc-9.2.5 packages: - mig