Hello schemers, the number->string procedure from (rnrs) should accept the optional precision argument, but does not:
scheme@(guile-user)> (import (rnrs)) scheme@(guile-user)> (number->string 1.1 10 53) ;;; <stdin>:2:0: warning: possibly wrong number of arguments to `number->string' ERROR: In procedure number->string: ERROR: Wrong number of arguments to #<procedure number->string (_ #:optional _)> The example should return "1.1|53". Tested with GNU Guile 2.0.9.71-8d5d04. -- Göran Weinholt <go...@weinholt.se> "On your own and though you feel alone you are alive. Don't you know it's just another day." -- You Are Alive, Fragma
pgpNDPTru1Z_l.pgp
Description: PGP signature