We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e03e0db commit 4550d55Copy full SHA for 4550d55
src/Nix/Exec.hs
@@ -246,7 +246,7 @@ instance MonadNix e t f m => MonadEval (NValue t f m) m where
246
247
let
248
fun x y z = addProvenance (Provenance scope $ NIf_ span (pure c) x y) z
249
- -- Note: join == \ f x -> f x x
+ -- Note: join acts as \ f x -> f x x
250
false = join (fun Nothing . pure) <$> f
251
true = join (flip fun Nothing . pure) <$> t
252
src/Nix/Type/Infer.hs
@@ -202,7 +202,7 @@ newtype Subst = Subst (Map TVar Type)
202
compose :: Subst -> Subst -> Subst
203
Subst s1 `compose` Subst s2 =
204
Subst $
205
- apply (Subst s1) `Map.map`
+ apply (Subst s1) <$>
206
(s2 `Map.union` s1)
207
208
-- * class @Substitutable@
0 commit comments