0 Members and 1 Guest are viewing this topic.
Do people here still use it in their code?
... It's a hard function to search for help on for obvious reasons
I've got small interesting observation from your question,function converts any literal value into a symbol type, and any lambda function into a LIST type -
If you must learn Java or C# , then you can try this newcode.txt, for teaching Csyntax, gramarlyC++,whole C+=source.You can convert this newcode.txt to 100%Vlisp.http://lisp2arx.3xforum.ro/viewtopic.php?pid=168#168Do not waste your-time with lambda, because the function+lambda not exists in Java or JavaScript.?!
Do not waste your-time with lambda
_$ a(LAMBDA (X) (* X X))_$ b(quote #<USUBR @000001eb9681c890 -lambda->)_$ c#<USUBR @000001eb96d17930 C>_$ d((X) (* X X))
_$ (benchmark '((apply a '(2)) (apply b '(2)) (apply 'c '(2)) (apply 'd '(2))))Benchmarking ...................Elapsed milliseconds / relative speed for 65536 iteration(s): (APPLY B (QUOTE (2))).............1656 / 1.93 <fastest> (APPLY (QUOTE C) (QUOTE (2))).....1688 / 1.90 (APPLY A (QUOTE (2))).............2969 / 1.08 (APPLY (QUOTE D) (QUOTE (2))).....3203 / 1.00 <slowest>
I wonder how many times benchmark has been run over the years.
Quote from: VovKa on July 07, 2020, 08:27:05 AMIf you must learn Java or C# , then you can try this newcode.txt, for teaching Csyntax, gramarlyC++,whole C+=source.You can convert this newcode.txt to 100%Vlisp.http://lisp2arx.3xforum.ro/viewtopic.php?pid=168#168Do not waste your-time with lambda, because the function+lambda not exists in Java or JavaScript.?!