Ticket #250 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

plai mutator: top-level printouts

Reported by: robby Owned by: plai
Priority: major Milestone:
Component: plai/plai.plt Keywords:
Cc: Version: (1 12)
Racket Version: 4.2.3

Description

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)))

Change History

Changed 4 years ago by plai

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.