Warning differentiating tokens from numbers 

Forum: Com Sci 12500, U Chicago, Autumn 2002, Discuss Classwork
Re: News Project Step #2, deadline Wednesday 13 November (Mike O'Donnell)
Re: Question Tokens? (Nathan Krapf)
Re: Feedback Tokens are any values that you like (Mike O'Donnell)
Date: 2002, Nov 13
From: Katie Edmonds <katie@uchicago.edu>

The "tokens" for less-than, indistinguishable, and greater-than, are just any three values that you find convenient to produce and distinguish. If you only had to distinguish two values, you could use #t and #f. For three, I suggest -1, 0, and 1.
It seems like you could also have your tokens be lt_xrealcomp, in_xrealcomp, gt_xrealcomp. I'd be afraid of goofing something up and winding up doing some computation that uses the -1,0,or 1 as a number instead of an xrealcomp token and returns a number when it should return an erorr.


to: "differentiating tokens from numbers"