Custom Query (1630 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (13 - 15 of 1630)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Owner Reporter Resolution Summary
#205 Christian Kellermann fixed number->string does not accept abritrary radixes
Description

The current implementation does not allow any other radix than the ones mentioned in R5RS (2,8,10,16). Whereas string->number does:

(use srfi-1) (map (lambda (n) (string->number "11" n)) (iota 15 2)) -> (3 4 5 6 7 8 9 10 11 12 13 14 15 16 17)

I think it is convenient if number->string supports at least arbitrary radix values form [2,..,16].

The attached diff does exactly that. Since it is a general function that of course will also do binary, the patch removes the old binary function code.

Since this is my first patch I am completely unbiased and open for suggestions on coding style etc. Please keep the feedback comming!

#216 felix winkelmann felix winkelmann fixed consider `begin` variant with toplevel semantics that can be used locally
Description

(##core#toplevel-begin BODY ...): like begin, but do not canonicalize the BODY.

This allows wrapping toplevel code with a procedure, for example:

(define (toplevel)
  (##core#toplevel-begin
    (define a 1)
    ...))

...

(toplevel)       ; initialize
a
#220 felix winkelmann wontfix call-with-values rewrite rule for known producer with single-valued body
Description

(call-with-values K P F) with P having a lambda as known value and a body of the form (<CONT> X) where X is a constant, a variable reference, a lambda or a ##core#inline[...] form can be rewritten to (F K X).

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Note: See TracQuery for help on using queries.