skx / yal

Yet another lisp interpreter
GNU General Public License v2.0
16 stars 0 forks source link

Move (nth) to stdlib. #76

Closed skx closed 1 year ago

skx commented 1 year ago

(nth ..) is slow, very slow, due to its recursive nature. However working with lisps and using nth is common, so it makes sense to move the implementation from lisp into the golang core.

This closes #75