PasteRack.org
Paste # 53094
2020-03-21 12:43:47

Fork as a new paste.

Paste viewed 264 times.


Embed:

  1. #lang plai/gc2/collector
  2.  
  3. (define-syntax-rule (test/heap heap oper ...  expected)
  4.   (with-heap heap
  5.     (init-allocator)
  6.     (test
  7.      (begin oper ...)
  8.      expected)))

=>