[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Speaking of Syntax
The following examples should get you on the right track. Indentation is
specified in pairs of argument position (zero-based) and offset. Any argument
position without an explicit specification uses the same indentation as the
line above.
(defmacro test-1 (a b c d e f)
;; the declaration below does not work in defun
(declare (zwei:indentation 0 0 1 1 3 6 4 2))
(list 'list a b c d e f))
(test-1
0
1
2
3
4
5)
(defun test-2 (a b c d e f)
(list a b c d e f))
(zwei:defindentation (test-2 1 2 3 0 4 1))
(test-2
0
1
2
3
4
5)
Terry Barnes