1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00

Reformat the context for gc.

This commit is contained in:
Rob Rix 2017-12-21 13:30:14 -05:00
parent 1389e22fe5
commit 955c4e8bd4

View File

@ -27,7 +27,10 @@ evCollect ev0 ev' yield e = do
pure v
-- | Collect any addresses in the store not rooted in the given 'Live' set.
gc :: (Ord (LocationFor a), Foldable (Cell (LocationFor a)), ValueRoots (LocationFor a) a)
gc :: ( Ord (LocationFor a)
, Foldable (Cell (LocationFor a))
, ValueRoots (LocationFor a) a
)
=> Live (LocationFor a) a
-> Store (LocationFor a) a
-> Store (LocationFor a) a