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-10 10:05

Suppose you have a magic implicit syntax rule called shitface that turns "abc" into (string->list "abc")
You have some code that contains "abc" and shitface sees that and dutifully turns it into (string->list "abc")
Then you have some code (string->list "abc") that contains "abc" and shitface sees that and dutifully turns it into (string->list (string->list "abc"))
Then you have some code (string->list (string->list "abc")) that contains "abc" and shitface sees that and dutifully turns it into (string->list (string->list (string->list "abc")))

do you see

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