git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Support declarations split over multiple commands in psci #879
6dcb013Phil Freeman
psci/Main.hs+1−1
@@ -96,7 +96,7 @@ updateModules modules st = st { psciLoadedModules = psciLoadedModules st ++ modu
96-- Updates the state to have more let bindings.
96-- Updates the state to have more let bindings.
97--
97--
98updateLets :: [P.Declaration] -> PSCiState -> PSCiState
98updateLets :: [P.Declaration] -> PSCiState -> PSCiState
99−updateLets ds st = st { psciLetBindings = ds ++ psciLetBindings st }
99+updateLets ds st = st { psciLetBindings = psciLetBindings st ++ ds }
100
100
101-- File helpers
101-- File helpers
102-- |
102-- |