Merge pull request #880 from purescript/879
Support declarations split over multiple commands in psci #879
commit3e9ea04759fae639663e820bdcefb555d5e65764
authorPhil Freeman <paf31@cantab.net>
dateTue 17 Feb 2015, 16:01 (12 years ago)
parentd10f1b76dcb013
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-- |