refine the type of collect-garbage

The `collect-garbage` function now accepts a mode argument.
This commit is contained in:
Matthew Flatt 2015-11-27 06:49:01 -07:00
parent 6a8c366210
commit c4f39433e1

View File

@ -2971,7 +2971,9 @@
[will-try-execute (-> -Will-Executor ManyUniv)]
;; Section 16.4
[collect-garbage (-> -Void)]
[collect-garbage (cl->*
(-> -Void)
(-> (Un (-val 'minor) (-val 'major) (-val 'incremental)) -Void))]
[current-memory-use (-> -Nat)]
[dump-memory-stats (-> Univ)]