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

tail-recursion macros

Name: Anonymous 2012-10-27 22:46

so I just wrote a couple macros for common lisp that emulate tail-recursion

I thought they were pretty cool (though a bit silly) so i thought I'd share.

https://gist.github.com/3967055

Name: Anonymous 2012-10-27 23:04

i'm too dumb for this shit

Name: Anonymous 2012-10-28 0:09

common lisp
a bit silly
Anything in Common Lisp is a lot more than ``a bit silly''.

Name: Anonymous 2012-10-28 0:13

>>3
in this case especially so, because most cl compilers already do tail-recursion, and you have loop constructs anyway

but it was a fun exercise

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