Arc Forumnew | comments | leaders | submitlogin
3 points by drcode 5815 days ago | link | parent

In Lisp, function parameters are always evaluated. However, many commands in Lisp are not true "functions", but instead special forms or macros.

You probably mean to ask one of two other questions:

Q: How do I pass a literal list into a function?

A: By quoting it (This is probably not what you're trying to achieve though)

   (myfun '(functionthatreturnsalist xint))
Q: How do I write a command that can perform manipulations on parameters before evaluating them?

A: You write a macro, not a function. (See the pg arc tutorial for examples)