- marked as enhancement
Implement 'make-string'
Issue #40
new
make-string should return a string of length n. If char is supplied, the string is filled with n occurrences of char, otherwise the characters contained in the string are unspecified.
http://www.scheme.com/tspl4/objects.html#./objects:s218
(make-string 0)
Traceback (most recent call last):
File "stdin", line 1, col 2
RunTimeError: unbound variable 'make-string'
(make-string 5 #\x)
Traceback (most recent call last):
File "stdin", line 1, col 2
RunTimeError: unbound variable 'make-string'
Comments (1)
-
- Log in to comment