[plt-scheme] continuation marks

From: John Leuner (jewel at subvert-the-dominant-paradigm.net)
Date: Wed Apr 30 16:27:10 EDT 2008

Why does the output differ for these two cases:

 mzscheme -t
Welcome to MzScheme v372 [3m], Copyright (c) 2004-2007 PLT Scheme Inc.
(4 2)

John Leuner

-------------- next part --------------
(module |test| mzscheme
	(require (lib "control.ss"))

	(with-continuation-mark 'b 2
	     (list (with-continuation-mark 'b 4
			 (continuation-mark-set->list (current-continuation-marks) 'b)))))

	(with-continuation-mark 'b 2
	     (with-continuation-mark 'b 4
			 (continuation-mark-set->list (current-continuation-marks) 'b))))

	;output is
	;(4 2)

Posted on the users mailing list.