Skip to content

Commit

Permalink
chore: address GHC warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Kent committed Jun 2, 2021
1 parent affee13 commit d456663
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cryptol-remote-api/src/CryptolServer.hs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import qualified Argo
import qualified Argo.Doc as Doc
import CryptolServer.Data.FreshName
import CryptolServer.Exceptions
( cryptolError, unknownFreshName, invalidName)
( cryptolError, invalidName)
import CryptolServer.Options
( WithOptions(WithOptions), Options(Options, optEvalOpts) )

Expand Down
2 changes: 1 addition & 1 deletion cryptol-remote-api/src/CryptolServer/Data/Expression.hs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import Cryptol.Eval.Concrete (Value)
import Cryptol.Eval.Type (TValue(..), tValTy)
import Cryptol.Eval.Value (GenValue(..))
import Cryptol.ModuleSystem
(ModuleEnv, ModuleCmd, getPrimMap, evalDecls, renameType, renameVar, checkExpr, focusedEnv)
(ModuleEnv, ModuleCmd, getPrimMap, evalDecls, renameType, checkExpr, focusedEnv)
import Cryptol.ModuleSystem.Env (deNames,meDynEnv, mctxParams, mctxDecls, mctxNames)
import Cryptol.ModuleSystem.Monad (runModuleM, interactive, getFocusedEnv)
import qualified Cryptol.ModuleSystem.Base as Base
Expand Down
2 changes: 1 addition & 1 deletion src/Cryptol/REPL/Command.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ helpCmd cmd
M.Parameter -> rPutStrLn "// No documentation is available."


showModHelp env disp x =
showModHelp _env disp x =
rPrint $ runDoc disp $ vcat [ "`" <> pp x <> "` is a module." ]
-- XXX: show doc. if any

Expand Down

0 comments on commit d456663

Please sign in to comment.