Closed lassik closed 2 years ago
Returning the string instead of using display will produce the indicated "hello world" (with quotes) in a Scheme REPL.
display
"hello world"
The (string-length input) makes substring more portable; in some Scheme implementations, substring always needs 3 arguments.
(string-length input)
substring
LGTM
Returning the string instead of using
display
will produce the indicated"hello world"
(with quotes) in a Scheme REPL.