Skip to content

Commit

Permalink
Add a necessary language extension to avoid a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ndmitchell committed Oct 15, 2023
1 parent 178f58a commit d35261c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Development/Shake.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{-# LANGUAGE TypeFamilies, ConstraintKinds, PatternSynonyms #-}
{-# LANGUAGE TypeFamilies, TypeOperators, ConstraintKinds, PatternSynonyms #-}

-- | This module is used for defining Shake build systems. As a simple example of a Shake build system,
-- let us build the file @result.tar@ from the files listed by @result.txt@:
Expand Down
2 changes: 1 addition & 1 deletion src/Development/Shake/Internal/Core/Build.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE RecordWildCards, PatternGuards, ScopedTypeVariables, NamedFieldPuns, GADTs #-}
{-# LANGUAGE Rank2Types, ConstraintKinds, TupleSections, ViewPatterns #-}
{-# LANGUAGE Rank2Types, ConstraintKinds, TypeOperators, TupleSections, ViewPatterns #-}

module Development.Shake.Internal.Core.Build(
getDatabaseValue, getDatabaseValueGeneric,
Expand Down
2 changes: 1 addition & 1 deletion src/Development/Shake/Internal/Core/Rules.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# LANGUAGE RecordWildCards, ScopedTypeVariables #-}
{-# LANGUAGE GeneralizedNewtypeDeriving, ConstraintKinds, NamedFieldPuns #-}
{-# LANGUAGE ExistentialQuantification, RankNTypes #-}
{-# LANGUAGE TypeFamilies, DeriveDataTypeable #-}
{-# LANGUAGE TypeFamilies, TypeOperators, DeriveDataTypeable #-}
{-# LANGUAGE FlexibleInstances #-}

module Development.Shake.Internal.Core.Rules(
Expand Down
2 changes: 1 addition & 1 deletion src/Development/Shake/Internal/Rules/Directory.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{-# LANGUAGE GeneralizedNewtypeDeriving, ScopedTypeVariables, DeriveDataTypeable #-}
{-# LANGUAGE TypeFamilies, ConstraintKinds #-}
{-# LANGUAGE TypeFamilies, TypeOperators, ConstraintKinds #-}

-- | Both System.Directory and System.Environment wrappers
module Development.Shake.Internal.Rules.Directory(
Expand Down
2 changes: 1 addition & 1 deletion src/Development/Shake/Internal/Rules/Oracle.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{-# LANGUAGE GeneralizedNewtypeDeriving, DeriveDataTypeable, ScopedTypeVariables #-}
{-# LANGUAGE TypeFamilies, ConstraintKinds #-}
{-# LANGUAGE TypeFamilies, TypeOperators, ConstraintKinds #-}

module Development.Shake.Internal.Rules.Oracle(
addOracle, addOracleCache, addOracleHash,
Expand Down

0 comments on commit d35261c

Please sign in to comment.