Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

splatten in macro don't compile #27

Closed
francescoagati opened this issue Jun 22, 2011 · 0 comments
Closed

splatten in macro don't compile #27

francescoagati opened this issue Jun 22, 2011 · 0 comments

Comments

@francescoagati
Copy link
Contributor

with ths macro

(defmacro when-test (c &body)
'(if ~c
(do
~@Body)
FALSE))

 (when-test (== 2 2)
                   (. "line" 1)
                   "foobar")

i have this error

Notice: Undefined variable: flatten in /Users/Francesco/Downloads/Scriptor-pharen-452a373 2/pharen.php on line 1337

Warning: array_slice() expects parameter 1 to be array, null given in /Users/Francesco/Downloads/Scriptor-pharen-452a373 2/pharen.php on line 1337

Warning: array_merge(): Argument #2 is not an array in /Users/Francesco/Downloads/Scriptor-pharen-452a373 2/pharen.php on line 1337

Warning: array_shift() expects parameter 1 to be array, null given in /Users/Francesco/Downloads/Scriptor-pharen-452a373 2/pharen.php on line 2092

Fatal error: Class name must be a valid object or a string in /Users/Francesco/Downloads/Scriptor-pharen-452a373 2/pharen.php on line 2095
nagashima-2:Scriptor-pharen-452a373 2 Francesco$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants