code-tutorial.com

The best resources for developers

How far can LISP macros go?

(loop for x from 0 below 100
      when (even x)
      collect x)
#R{
      ruby.code.goes.here
  }
#B(some lisp (code goes here))
(lambda () (some lisp (code goes here)))

Tags: lisp macros

Source: By Mike Stone as answer to the question

This code snippet was collected from stackoverflow, and is licensed under CC BY-SA 2.5


Related code-snippets: