[racket-dev] Documentation bug - 12.6.3: Reading numbrs

2010-07-27 Thread The Configurator
At the end of part 12.6.3 of the docs in
http://docs.racket-lang.org/reference/reader.html, it gives some examples

Examples:

 -1

 reads equal to

-1

 1/2

 reads equal to

(/ 1 2)

 1.0

 reads equal to

(inexact-exact 1)

 1+2i

 reads equal to

(make-complex 1 2)

 1/2+3/4i

 reads equal to

(make-complex (/ 1 2) (/ 3 4))

 1.0+3.0e7i

 reads equal to

(inexact-exact (make-complex 1 3000))

 2e5

 reads equal to

(inexact-exact 20)

 #i5

 reads equal to

(inexact-exact 5)

 #e2e5

 reads equal to

20

 #x2e5

 reads equal to

741

 #b101

 reads equal to

5

Shouldn't all the usages of inexact-exact here actually be exact-inexact ?

(I think this is the right place to ask this sort of question - if I'm
wrong, please steer me in the right direction ;)
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Re: [racket-dev] Documentation bug - 12.6.3: Reading numbrs

2010-07-27 Thread Eli Barzilay
On Jul 27, The Configurator wrote:
 
 Shouldn't all the usages of inexact-exact here actually be
 exact-inexact ?

Yes, thanks -- fixed in git.

-- 
  ((lambda (x) (x x)) (lambda (x) (x x)))  Eli Barzilay:
http://barzilay.org/   Maze is Life!
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev