@@ -258,10 +258,10 @@ make st@PSCiState{..} ms = P.make actions' (map snd loadedModules ++ ms)
258258 allModules = map (first Right) loadedModules ++ map (Left P.RebuildAlways,) ms
259259
260260-- |
261−-- Takes a value declaration and evaluates it with the current state.
261+-- Takes a value expression and evaluates it with the current state.
262262--
263−handleDeclaration :: P.Expr -> PSCI ()
264−handleDeclaration val = do
263+handleExpression :: P.Expr -> PSCI ()
264+handleExpression val = do
265265 st <- PSCI $ lift get
266266 let m = createTemporaryModule True st val
267267 let nodeArgs = psciNodeFlags st ++ [indexFile]
@@ -530,7 +530,7 @@ getCommand singleLineMode = handleInterrupt (return (Right Nothing)) $ do
530530-- Performs an action for each meta-command given, and also for expressions.
531531--
532532handleCommand :: Command -> PSCI ()
533−handleCommand (Expression val) = handleDeclaration val
533+handleCommand (Expression val) = handleExpression val
534534handleCommand ShowHelp = PSCI $ outputStrLn helpMessage
535535handleCommand (Import im) = handleImport im
536536handleCommand (Decls l) = handleDecls l