Ticket #250 (closed defect: fixed)
plai mutator: top-level printouts
|Reported by:||robby||Owned by:||plai|
This confused me for a little while; it seems that values returned to the top-level in the mutator language don't get converted back from addresses into Scheme values. For example, the program below prints "2" and then "#f" (2 is the address where "#f" ended up with my stupid allocator).
#lang planet plai/plai:1:12/mutator
(allocator-setup "no-collection-collector.ss" 100)
(rest (cons #t #f))
(printf "~s\n" (rest (cons #t #f)))