@@ -30,6 +30,7 @@ import qualified SAWSupport.ScopedMap as ScopedMap
3030
3131import SAWCentral.Position (Pos , getPos )
3232import qualified SAWCentral.Options as Options
33+ import SAWCentral.Options (Options )
3334import SAWCentral.AST
3435import SAWCentral.Value (Environ (.. ), RebindableEnv )
3536
@@ -111,7 +112,7 @@ panicOnMsgs whoAmI result = case result of
111112-- into this file. Prints any warnings, and return just errors or a
112113-- result.
113114--
114- dispatchMsgs :: Options. Options -> WithMsgs a -> IO (Either [Text ] a )
115+ dispatchMsgs :: Options -> WithMsgs a -> IO (Either [Text ] a )
115116dispatchMsgs opts result =
116117 let printMsg vrb msg =
117118 Options. printOutLn opts vrb (Text. unpack msg)
@@ -257,7 +258,7 @@ readStmtSemiUnchecked fileName str = do
257258
258259-- | Load the 'Stmt's in a @.saw@ file.
259260-- Doesn't run the typechecker (yet).
260- loadFileUnchecked :: Options. Options -> FilePath -> IO (Either [Text ] [Stmt ])
261+ loadFileUnchecked :: Options -> FilePath -> IO (Either [Text ] [Stmt ])
261262loadFileUnchecked opts fname = do
262263 Options. printOutLn opts Options. Info $ " Loading file " ++ show fname
263264 ftext <- TextIO. readFile fname
@@ -271,7 +272,7 @@ loadFileUnchecked opts fname = do
271272-- found, load it. If not, fail by returning `Left`.
272273--
273274-- Doesn't run the typechecker (yet).
274- findAndLoadFileUnchecked :: Options. Options -> FilePath -> IO (Either [Text ] [Stmt ])
275+ findAndLoadFileUnchecked :: Options -> FilePath -> IO (Either [Text ] [Stmt ])
275276findAndLoadFileUnchecked opts fp = do
276277 let paths = Options. importPath opts
277278 mfname <- findFile paths fp
0 commit comments