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

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed Aug 20 09:45:14 EDT 2008

I can't recreate your error. Can you send instructions on how to get  
there from a plain drscheme start? Thanks!! -- Matthias



On Aug 20, 2008, at 3:06 AM, Sergey Lovtsov wrote:

> 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?
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.