File tree 4 files changed +92
-51
lines changed
libs/small-steps/src/Control
4 files changed +92
-51
lines changed Original file line number Diff line number Diff line change @@ -142,8 +142,9 @@ jobs:
142
142
143
143
- name : Install fourmolu
144
144
run : |
145
+ FOURMOLU_VERSION="0.14.0.0"
145
146
mkdir -p "$HOME/.local/bin"
146
- curl -sL https://github.com/fourmolu/fourmolu/releases/download/v0.13.1.0 /fourmolu-0.13.1.0 -linux-x86_64 -o "$HOME/.local/bin/fourmolu"
147
+ curl -sL " https://github.com/fourmolu/fourmolu/releases/download/v${FOURMOLU_VERSION} /fourmolu-${FOURMOLU_VERSION} -linux-x86_64" -o "$HOME/.local/bin/fourmolu"
147
148
chmod a+x "$HOME/.local/bin/fourmolu"
148
149
echo "$HOME/.local/bin" >> $GITHUB_PATH
149
150
Original file line number Diff line number Diff line change 97
97
shell . tools =
98
98
{
99
99
cabal = "3.10.1.0" ;
100
- ghcid = "0.8.8 " ;
100
+ ghcid = "0.8.9 " ;
101
101
}
102
102
// lib . optionalAttrs ( config . compiler-nix-name == defaultCompiler ) {
103
103
# tools that work only with default compiler
104
- fourmolu = "0.13.1 .0" ;
104
+ fourmolu = "0.14.0 .0" ;
105
105
hlint = "3.6.1" ;
106
- haskell-language-server = { src = nixpkgs . haskell-nix . sources . "hls-2.0 " ; } ;
106
+ haskell-language-server = { src = nixpkgs . haskell-nix . sources . "hls-2.2 " ; } ;
107
107
} ;
108
108
109
109
# and from nixpkgs or other inputs
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ putM s = ProvM (modifyMState (const s))
153
153
-- a BlackBox. This ensures that provenance cannot be used in the
154
154
-- non-provenance part of the computation.
155
155
getM :: Monad m => ProvM s m (BlackBox s )
156
- getM = ProvM (do m <- get; case m of { SNothing -> pure NoBox ; SJust t -> pure (Box t) } )
156
+ getM = ProvM (do m <- get; case m of SNothing -> pure NoBox ; SJust t -> pure (Box t))
157
157
{-# INLINE getM #-}
158
158
159
159
-- | Modify the provenance if collecting provenance, otherwise do nothing.
@@ -248,7 +248,7 @@ updateWithBlackBox _ NoBox _ = pure ()
248
248
-- 2) The map does not contain the key
249
249
-- 3) The value at the key has the wrong type.
250
250
pull :: forall t m . (Monad m , Typeable t ) => Text -> Prov m (BlackBox t )
251
- pull key = ProvM (do m <- get; case findM key m of { SNothing -> pure NoBox ; SJust t -> pure (Box t) } )
251
+ pull key = ProvM (do m <- get; case findM key m of SNothing -> pure NoBox ; SJust t -> pure (Box t))
252
252
{-# INLINE pull #-}
253
253
254
254
-- | Return a String representation of the current provenance store.
You can’t perform that action at this time.
0 commit comments