[racket-dev] bug in ~r

2013-01-13 Thread Curtis Dutton
I think this is a bug... (~r (/ 15625 16384) #:min-width 4 #:precision 1) gives me make-string: contract violation expected: exact-nonnegative-integer? given: -1 argument position: 1st other arguments...: #\0 Can anyone else reproduce this? If

Re: [racket-dev] bug in ~r

2013-01-13 Thread Matthew Flatt
It's still broken. Although I don't get an error with the latest sources (v5.3.2.1), the output is not right: (~r (/ 15625 16384) #:min-width 4 #:precision 1) 0.1 (~r (/ 15625 16384)) 0.953674 At Sun, 13 Jan 2013 10:40:04 -0500, Curtis Dutton wrote: I think this is a bug... (~r (/

Re: [racket-dev] bug in ~r

2013-01-13 Thread Ryan Culpepper
I just pushed a fix. Thanks for reporting this! Ryan On 01/13/2013 10:48 AM, Matthew Flatt wrote: It's still broken. Although I don't get an error with the latest sources (v5.3.2.1), the output is not right: (~r (/ 15625 16384) #:min-width 4 #:precision 1) 0.1 (~r (/ 15625 16384))

Re: [racket-dev] bug in ~r

2013-01-13 Thread Curtis Dutton
Thanks for fixing it! On Jan 13, 2013 3:55 PM, Ryan Culpepper ry...@ccs.neu.edu wrote: I just pushed a fix. Thanks for reporting this! Ryan On 01/13/2013 10:48 AM, Matthew Flatt wrote: It's still broken. Although I don't get an error with the latest sources (v5.3.2.1), the output is not