Skip to content

Commit

Permalink
TypeOperators fix for GHC 9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Dec 15, 2022
1 parent b89041d commit 0ce1993
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions graphula.cabal
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.4.
-- This file has been generated from package.yaml by hpack version 0.35.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: e974379647c8b19b84f448686faab064910805de194b9f7e13bdd81d64b2014a
-- hash: 708be6abd7543f73652eb13a394e846b7310dbc15b9a90b1446c37f7363bb07d

name: graphula
version: 2.0.2.2
Expand Down Expand Up @@ -62,13 +62,13 @@ library
, text
, unliftio
, unliftio-core
default-language: Haskell2010
if impl(ghc >= 9.2)
ghc-options: -Wno-missing-kind-signatures
if impl(ghc >= 8.10)
ghc-options: -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module
if impl(ghc < 8.6)
ghc-options: -Wno-redundant-constraints
default-language: Haskell2010

test-suite readme
type: exitcode-stdio-1.0
Expand All @@ -91,6 +91,7 @@ test-suite readme
, resourcet
, transformers
, unliftio-core
default-language: Haskell2010
if impl(ghc >= 9.2)
ghc-options: -Wno-missing-kind-signatures
if impl(ghc >= 8.10)
Expand All @@ -102,4 +103,3 @@ test-suite readme
if flag(persistent-template)
build-depends:
persistent-template
default-language: Haskell2010
1 change: 1 addition & 0 deletions src/Graphula/Node.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilyDependencies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE UndecidableSuperClasses #-}

Expand Down
1 change: 1 addition & 0 deletions test/README.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ dependencies. We use this interface to generate fixtures for automated testing.
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
Expand Down

0 comments on commit 0ce1993

Please sign in to comment.