I attempted to run a gambit scheme script that was previously run with guile. I noticed that gambit fails because it is missing the "format" function.
Is format not part of scheme?
(format #t "example(~a)=<~a>\n" i (example i))
Instead I modified my gambit script to the following.
(display (string-append "example(" (number->string i) ")=<" (number->string (example i)) ">\n"))
What am I missing here? Thanks.
In Gambit you can use standard R7RS libraries and you need to import SRFI-28 that contain format function.
But Scheme format function as defined by SRFI-28 don't have
#targument that print to stdout like Common Lips have. First argument is always output string pattern: