How to define a string with values from a defined list in SCHEME -
please me define string this..
i have list has values (define temp-list (list '398 '150 '1.15 '2875 '-900 '1565 '800 '230 '200 '0 '0 '0))
i should declare as.. (define b "398 150 1.15 2875 -900 1565 800 230 200 0 0 0")
how can in scheme?
if have srfi 13 loaded, can use string-join
so:
(define b (string-join (map number->string temp-list)))
Comments
Post a Comment