Dear Racket developers and users,

I've just tried the non-official implementation of R7RS in Racket. Three points:

   - if you define a library, you can write something like:

(define-library (something)
  (export ...) (import ...)
  (define another-thing ...)
  (define year-another ...)
  ...)

although R7RS makes precise that definitions must be grouped under "begin":

(define-library (something)
  (export ...) (import ...)
  (begin
    (define another-thing ...)
    (define year-another ...)
    ...))

- the second point is already present for "#lang racket". I personally think that it is a pity that the output form of a bytevector is not itself, from my point of view, that complicates debugging. But in R7RS, bytevectors are self-evaluating:

#u8(48) ==> #u8(48)

whereas Racket implementation tries to display corresponding characters as far as possible:

#u8(48) ==> #"0"

but we already have the function "utf8->string" for such use.

   - The function "features" results in:

(r7rs racket exact-closed exact-complex ieee-float full-unicode ratios)

these informations are ok, but should be include items about operating system and encoding for 16-bit words (little/big-endian). Such information could be successfully used by the "cond-expand" form.

   Anyway, thanks for this new implementation; I tried it with great pleasure.

J.-M. Hufflen


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to