filterModuleLinkables,
findModuleLinkable_maybe,
LinkResult(..),
+ updateClosureEnv,
link,
unload,
PersistentLinkerState{-abstractly!-}, emptyPLS,
import CmStaticInfo ( GhciMode(..) )
import Outputable ( SDoc )
import Digraph ( SCC(..), flattenSCC )
+import Name ( Name )
import Module ( ModuleName )
import FiniteMap
import Outputable
emptyPLS = return (PersistentLinkerState {})
#endif
+updateClosureEnv :: PersistentLinkerState -> [(Name,HValue)]
+ -> IO PersistentLinkerState
+updateClosureEnv pls new_bindings
+ = return pls{ closure_env = addListToFM (closure_env pls) new_bindings }
+
-----------------------------------------------------------------------------
-- Unloading old objects ready for a new compilation sweep.
--