|
Technically, I suppose, there's no reason you couldn't represent ratintvls as (a . b) - however, I think it was assumed (or I read it somewhere) that they would be lists like (1 3/2) rather than (1 . 3/2). Now, I don't see any reason why you couldn't use the pair rather than list structure, and in that case that test case should be true, and the other ones should be changed accordingly. Make sure you point that out if you submit code that does it that way - you may want to include your own test cases for the functions that work directly with ratintvls |
Actually... by Benedict Singer, 2002, Nov 08
Stay with lists by Mark Kittisopikul, 2002, Nov 08
to: