Hacker News new | ask | show | jobs
by pitkali 798 days 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.
1 comments

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