On 20/01/2019 15:33, Neil Van Dyke wrote: [lot of helpful information] OK, it works now. I could finally strip it down to (define (enum-var-dim n v) (if ( = n 2) (cons (fst (cantor-enum v)) (snd (cantor-enum v))) (cons (fst (cantor-enum v))(enum-var-dim (sub1 n) (snd (cantor-enum v))))))
I hope it respects Racket naming conventions. One last thing : Running (enum-var-dim n value) outputs me something of the form '(5.0 8.0 . 6.0) with one point between the last numbers. Where does it come from ? Best regards, Alain -- 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.