File: test-macroexpand-dammit.lisp

package info (click to toggle)
agnostic-lizard 0~git20201010.1.fe3a737-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 240 kB
  • sloc: lisp: 2,026; sh: 11; makefile: 2
file content (10 lines) | stat: -rw-r--r-- 271 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
(require :macroexpand-dammit)

(defmacro f () 1)

(defmacro macroexpand-dammit-here (form &environment env)
  `',(macroexpand-dammit:macroexpand-dammit form env))

(macrolet ((f () 2)) (macroexpand-dammit-here (macrolet () (f))))

(macrolet ((f () 2)) (macrolet () (f)))