Skip to content
Closed
1 change: 1 addition & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ pull_request_rules:

merge_queue:
max_parallel_checks: 2
queue_controls_comment: false

queue_rules:
# Mergify now requires different queues for different strategies
Expand Down
136 changes: 68 additions & 68 deletions Cabal-hooks/Cabal-hooks.cabal
Original file line number Diff line number Diff line change
@@ -1,68 +1,68 @@
cabal-version: 3.6
name: Cabal-hooks
version: 3.17
copyright: 2025, Cabal Development Team
license: BSD-3-Clause
license-file: LICENSE
author: Cabal Development Team <cabal-devel@haskell.org>
maintainer: cabal-devel@haskell.org
homepage: http://www.haskell.org/cabal/
bug-reports: https://github.com/haskell/cabal/issues
synopsis: API for the Hooks build-type
description:
User-facing API for the Hooks build-type.
category: Distribution
build-type: Simple
extra-doc-files:
README.md CHANGELOG.md
source-repository head
type: git
location: https://github.com/haskell/cabal/
subdir: Cabal-hooks
library
default-language: Haskell2010
hs-source-dirs: src
build-depends:
, Cabal-syntax >= 3.17 && < 3.18
, Cabal >= 3.17 && < 3.18
, base >= 4.17 && < 5
, containers >= 0.5.0.0 && < 0.9
, transformers >= 0.5.6.0 && < 0.7
ghc-options: -Wall -fno-ignore-asserts -Wtabs -Wincomplete-uni-patterns -Wincomplete-record-updates
exposed-modules:
Distribution.Simple.SetupHooks
other-extensions:
BangPatterns
CPP
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
ExistentialQuantification
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
ImplicitParams
KindSignatures
LambdaCase
NondecreasingIndentation
OverloadedStrings
PatternSynonyms
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
Trustworthy
TypeFamilies
TypeOperators
TypeSynonymInstances
UndecidableInstances
cabal-version: 3.6
name: Cabal-hooks
version: 3.17
copyright: 2003-2026, Cabal Development Team
license: BSD-3-Clause
license-file: LICENSE
author: Cabal Development Team <cabal-devel@haskell.org>
maintainer: cabal-devel@haskell.org
homepage: http://www.haskell.org/cabal/
bug-reports: https://github.com/haskell/cabal/issues
synopsis: API for the Hooks build-type
description:
User-facing API for the Hooks build-type.
category: Distribution
build-type: Simple

extra-doc-files:
README.md CHANGELOG.md

source-repository head
type: git
location: https://github.com/haskell/cabal/
subdir: Cabal-hooks

library
default-language: Haskell2010
hs-source-dirs: src

build-depends:
, Cabal-syntax >= 3.17 && < 3.18
, Cabal >= 3.17 && < 3.18
, base >= 4.17 && < 5
, containers >= 0.5.0.0 && < 0.9
, transformers >= 0.5.6.0 && < 0.7

ghc-options: -Wall -fno-ignore-asserts -Wtabs -Wincomplete-uni-patterns -Wincomplete-record-updates

exposed-modules:
Distribution.Simple.SetupHooks

other-extensions:
BangPatterns
CPP
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveTraversable
ExistentialQuantification
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
ImplicitParams
KindSignatures
LambdaCase
NondecreasingIndentation
OverloadedStrings
PatternSynonyms
RankNTypes
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
Trustworthy
TypeFamilies
TypeOperators
TypeSynonymInstances
UndecidableInstances
68 changes: 34 additions & 34 deletions Cabal-hooks/LICENSE
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
Copyright (c) 2003-2025, Cabal Development Team.
See the AUTHORS file for the full list of copyright holders.
See */LICENSE for the copyright holders of the subcomponents.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Isaac Jones nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Copyright (c) 2003-2026, Cabal Development Team.
See the AUTHORS file for the full list of copyright holders.

See */LICENSE for the copyright holders of the subcomponents.

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.

* Neither the name of Isaac Jones nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 1 addition & 1 deletion Cabal-syntax/Cabal-syntax.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 3.6
name: Cabal-syntax
version: 3.17.0.0
copyright: 2003-2025, Cabal Development Team (see AUTHORS file)
copyright: 2003-2026, Cabal Development Team (see AUTHORS file)
license: BSD-3-Clause
license-file: LICENSE
author: Cabal Development Team <cabal-devel@haskell.org>
Expand Down
2 changes: 1 addition & 1 deletion Cabal-syntax/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2003-2025, Cabal Development Team.
Copyright (c) 2003-2026, Cabal Development Team.
See the AUTHORS file for the full list of copyright holders.

See */LICENSE for the copyright holders of the subcomponents.
Expand Down
1 change: 0 additions & 1 deletion Cabal-syntax/src/Distribution/Fields/LexerMonad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ instance Applicative Lex where
(<*>) = ap

instance Monad Lex where
return = pure
(>>=) = thenLex

data LexResult a = LexResult {-# UNPACK #-} !LexState a
Expand Down
1 change: 0 additions & 1 deletion Cabal-syntax/src/Distribution/Fields/ParseResult.hs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ instance Applicative (ParseResult src) where
{-# INLINE (<*) #-}

instance Monad (ParseResult src) where
return = pure
(>>) = (*>)

m >>= k = PR $ \ !s fp failure success ->
Expand Down
2 changes: 0 additions & 2 deletions Cabal-syntax/src/Distribution/Parsec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,6 @@ instance Alternative ParsecParser where
{-# INLINE some #-}

instance Monad ParsecParser where
return = pure

m >>= k = PP $ \v -> unPP m v >>= \x -> unPP (k x) v
{-# INLINE (>>=) #-}
(>>) = (*>)
Expand Down
2 changes: 0 additions & 2 deletions Cabal-syntax/src/Distribution/Types/Condition.hs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ instance Applicative Condition where
(<*>) = ap

instance Monad Condition where
return = pure

-- Terminating cases
(>>=) (Lit x) _ = Lit x
(>>=) (Var x) f = f x
Expand Down
2 changes: 1 addition & 1 deletion Cabal-tests/Cabal-tests.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.2
name: Cabal-tests
version: 3
copyright: 2003-2025, Cabal Development Team (see AUTHORS file)
copyright: 2003-2026, Cabal Development Team (see AUTHORS file)
license: BSD-3-Clause
license-file: LICENSE
author: Cabal Development Team <cabal-devel@haskell.org>
Expand Down
2 changes: 1 addition & 1 deletion Cabal-tests/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2003-2025, Cabal Development Team.
Copyright (c) 2003-2026, Cabal Development Team.
See the AUTHORS file for the full list of copyright holders.

See */LICENSE for the copyright holders of the subcomponents.
Expand Down
2 changes: 1 addition & 1 deletion Cabal/Cabal.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 3.8
name: Cabal
version: 3.17.0.0
copyright: 2003-2025, Cabal Development Team (see AUTHORS file)
copyright: 2003-2026, Cabal Development Team (see AUTHORS file)
license: BSD-3-Clause
license-file: LICENSE
author: Cabal Development Team <cabal-devel@haskell.org>
Expand Down
2 changes: 1 addition & 1 deletion Cabal/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2003-2025, Cabal Development Team.
Copyright (c) 2003-2026, Cabal Development Team.
See the AUTHORS file for the full list of copyright holders.

See */LICENSE for the copyright holders of the subcomponents.
Expand Down
1 change: 0 additions & 1 deletion Cabal/src/Distribution/Backpack/ReadyComponent.hs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ instance Applicative InstM where
in (f' x', s'')

instance Monad InstM where
return = pure
InstM m >>= f = InstM $ \s ->
let (x, s') = m s
in runInstM (f x) s'
Expand Down
1 change: 0 additions & 1 deletion Cabal/src/Distribution/Backpack/UnifyM.hs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ instance Applicative (UnifyM s) where
Just x'' -> return (Just (f'' x''))

instance Monad (UnifyM s) where
return = pure
UnifyM m >>= f = UnifyM $ \r -> do
x <- m r
case x of
Expand Down
2 changes: 0 additions & 2 deletions Cabal/src/Distribution/Simple/BuildTarget.hs
Original file line number Diff line number Diff line change
Expand Up @@ -908,8 +908,6 @@ instance Applicative Match where
(<*>) = ap

instance Monad Match where
return = pure

NoMatch d ms >>= _ = NoMatch d ms
ExactMatch d xs >>= f =
addDepth d $
Expand Down
1 change: 0 additions & 1 deletion Cabal/src/Distribution/Utils/LogProgress.hs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ instance Applicative LogProgress where
LogProgress f <*> LogProgress x = LogProgress $ \r -> f r `ap` x r

instance Monad LogProgress where
return = pure
LogProgress m >>= f = LogProgress $ \r -> m r >>= \x -> unLogProgress (f x) r

-- | Run 'LogProgress', outputting traces according to 'Verbosity',
Expand Down
1 change: 0 additions & 1 deletion Cabal/src/Distribution/Utils/Progress.hs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ foldProgress step err done = fold
fold (Done r) = done r

instance Monad (Progress step fail) where
return = pure
p >>= f = foldProgress Step Fail f p

instance Applicative (Progress step fail) where
Expand Down
1 change: 0 additions & 1 deletion Cabal/src/Distribution/ZinzaPrelude.hs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ instance Applicative Writer where
(<*>) = ap

instance Monad Writer where
return = pure
m >>= k = W $ \s1 ->
let (s2, x) = unW m s1
in unW (k x) s2
Expand Down
2 changes: 1 addition & 1 deletion cabal-benchmarks/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2003-2025, Cabal Development Team.
Copyright (c) 2003-2026, Cabal Development Team.
See the AUTHORS file for the full list of copyright holders.

See */LICENSE for the copyright holders of the subcomponents.
Expand Down
2 changes: 1 addition & 1 deletion cabal-benchmarks/cabal-benchmarks.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.2
name: cabal-benchmarks
version: 3
copyright: 2003-2025, Cabal Development Team (see AUTHORS file)
copyright: 2003-2026, Cabal Development Team (see AUTHORS file)
license: BSD-3-Clause
license-file: LICENSE
author: Cabal Development Team <cabal-devel@haskell.org>
Expand Down
2 changes: 1 addition & 1 deletion cabal-dev-scripts/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2003-2025, Cabal Development Team.
Copyright (c) 2003-2026, Cabal Development Team.
See the AUTHORS file for the full list of copyright holders.

See */LICENSE for the copyright holders of the subcomponents.
Expand Down
2 changes: 1 addition & 1 deletion cabal-install-solver/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2003-2025, Cabal Development Team.
Copyright (c) 2003-2026, Cabal Development Team.
See the AUTHORS file for the full list of copyright holders.

See */LICENSE for the copyright holders of the subcomponents.
Expand Down
2 changes: 1 addition & 1 deletion cabal-install-solver/cabal-install-solver.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license: BSD-3-Clause
license-file: LICENSE
author: Cabal Development Team (see AUTHORS file)
maintainer: Cabal Development Team <cabal-devel@haskell.org>
copyright: 2003-2025, Cabal Development Team
copyright: 2003-2026, Cabal Development Team
category: Distribution
build-type: Simple
extra-doc-files:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ foldProgress step' fail' done' = fold
fold (Done r) = done' r

instance Monad (Progress step fail) where
return = pure
p >>= f = foldProgress Step Fail f p

instance MonadFail (Progress step String) where
Expand Down
2 changes: 1 addition & 1 deletion cabal-install/LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2003-2025, Cabal Development Team.
Copyright (c) 2003-2026, Cabal Development Team.
See the AUTHORS file for the full list of copyright holders.

See */LICENSE for the copyright holders of the subcomponents.
Expand Down
Loading
Loading