From: David Vazquez Date: Wed, 23 Jan 2013 23:44:29 +0000 (+0000) Subject: Create a pure Javascript identity function X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=af915c33942c151a340a7209e22824f56a75461e;p=jscl.git Create a pure Javascript identity function Used to return primary values of functions --- diff --git a/ecmalisp.lisp b/ecmalisp.lisp index bbb8ebe..a6a0948 100644 --- a/ecmalisp.lisp +++ b/ecmalisp.lisp @@ -23,6 +23,9 @@ ;;; language to the compiler to be able to run. #+ecmalisp +(js-eval "function id (x) { return x; }") + +#+ecmalisp (progn (eval-when-compile (%compile-defmacro 'defmacro