[plt-scheme] Division error in DrScheme v.4.1

From: Sergey Lovtsov (gresvol at gmail.com)
Date: Wed Aug 20 03:06:51 EDT 2008

Hello to all! I'm just a beginner in Scheme (studying HtDP now) and now 
i have a problem with DrScheme.
When i'm calculating an expression wich returns integer values, like (/ 
45 5) or (/ 32 8), all goes just fine. But when i'm operating with 
fractions, like (/ 4 23) or (* .04 6), DrScheme returns me an error 
instead and crushes, error is

------
get-extent in snip%, extracting return value via box, extracting boxed 
argument: expected argument of type <non-negative number>; given -1.0

 === context ===
C:\Program Files\PLT\collects\framework\private\text.ss:1667:4: 
do-insertion method in ...work/private/text.ss:1351:2
C:\Program Files\PLT\collects\framework\private\text.ss:1661:9
-----

How can i solve this?



Posted on the users mailing list.