Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

If lithp macros are so cool ...

Name: Anonymous 2015-10-09 21:19

how the fuck do I use define-syntax and syntax-rules to convert "abc" into (string->list "abc") ?

ANSWER ME THAT, MATH BOYS

Name: Anonymous 2015-10-23 12:35

>>15
they are arrays.
Not if you plan to support utf8, the one true encoding. Strings are no longer a list of bytes which can easily be indexed in an array, but a list of variable-length codepoints, which can take up to O(N) time to access. It doesn't matter whether characters are stored in a linked list or an array now, they have the same O() for indexing.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List