top | item 40049611

(no title)

pitkali | 1 year ago

Yes, the String is a list of characters. The Haskell code uses head and tail on it. In Racket, they provided string-first and string-rest (at the end) to replace those.

discuss

order

lispm|1 year ago

Which makes it very different in Racket. STRING-REST creates a new string with the contents copied from the original string, minus one character.