Support declarations split over multiple commands in psci #879
commit6dcb01399c361c76cfb7d094e041d6d93b6d1a17
authorPhil Freeman <paf31@cantab.net>
dateTue 17 Feb 2015, 15:36 (12 years ago)
parentd10f1b7
psci/Main.hs+1−1
@@ -96,7 +96,7 @@ updateModules modules st = st { psciLoadedModules = psciLoadedModules st ++ modu
9696-- Updates the state to have more let bindings.
9797--
9898updateLets :: [P.Declaration] -> PSCiState -> PSCiState
99−updateLets ds st = st { psciLetBindings = ds ++ psciLetBindings st }
99+updateLets ds st = st { psciLetBindings = psciLetBindings st ++ ds }
100100
101101-- File helpers
102102-- |