Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (letrec-syntax
- ((helper
- (syntax-rules ()
- ((_ () (backw ...))
- (quote (backw ...)))
- ((_ (arg rest ...)(backw ...))
- (helper (rest ...)(arg backw ...))))))
- (helper (1 2 3 4 5) ()))
- ; -> (5 4 3 2 1)
Add Comment
Please, Sign In to add comment