clarkgrubb / hyperpolyglot

hyperpolyglot.org
Other
479 stars 96 forks source link

lisp flet and labels #37

Open 7fe opened 9 years ago

7fe commented 9 years ago

Minor issue. You have to use flet or labels in CL to define a local function.

(flet ((double (x) (* 2 x))) (double 2))

In addition I would include intern and string for converting between symbol names and strings.

http://stackoverflow.com/questions/32670266/lisp-anonymous-function-local-variable

I'm not certain if unless and when(some more lisp macros) should have been included.