File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ main =
105105 (\ ty -> liftIO $ putStrLn $ " Type of expression: " <> PS. ppShow
106106 (fromJust $ Map. lookup " it" $ Env. types ty)
107107 )
108- (HM. inferTop Env. empty [(" it" , stripAnnotation expr')])
108+ (HM. inferTop mempty [(" it" , stripAnnotation expr')])
109109
110110 -- liftIO $ putStrLn $ runST $
111111 -- runLintM opts . renderSymbolic =<< lint opts expr
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ exec update source = do
208208 -- import qualified Nix.Type.Env as Env
209209 -- import Nix.Type.Infer
210210 --
211- -- let tyctx' = inferTop Env.empty [("repl", stripAnnotation expr)]
211+ -- let tyctx' = inferTop mempty [("repl", stripAnnotation expr)]
212212 -- liftIO $ print tyctx'
213213
214214 mVal <- lift $ lift $ try $ pushScope (replCtx st) (evalExprLoc expr)
Original file line number Diff line number Diff line change @@ -959,7 +959,7 @@ genericClosureNix c =
959959 ss <- fromValue @ [NValue t f m ] =<< demand startSet
960960 op <- demand operator
961961
962- toValue @ [NValue t f m ] =<< snd <$> go op S. empty ss
962+ toValue @ [NValue t f m ] =<< snd <$> go op mempty ss
963963 where
964964 go
965965 :: NValue t f m
Original file line number Diff line number Diff line change @@ -449,4 +449,4 @@ addPath p =
449449 =<< addToStore (toText $ takeFileName p) p True False
450450
451451toFile_ :: (Framed e m , MonadStore m ) => FilePath -> String -> m StorePath
452- toFile_ p contents = addTextToStore (toText p) (toText contents) HS. empty False
452+ toFile_ p contents = addTextToStore (toText p) (toText contents) mempty False
You can’t perform that action at this time.
0 commit comments