| You know how in checks the first parameter to see if it matches any of the rest? I wanted a version that would check the first parameter against a list, so I tried to write one arc> (mac inl (elt lst)
`(in ,elt ,@lst))
#(tagged mac #<procedure: inl>)
arc> (inl 1 '(1 2 3))
_quote: undefined;
cannot reference undefined identifier
and have no clue why this is happening.Sorry, I know this isn't Stack Overflow, but virtually no one follows the arc-lisp tag there, and I don't know anywhere else to post. |