newLISP Fan Club

Forum => newLISP in the real world => Topic started by: cormullion on November 13, 2010, 03:22:00 AM

Title: term and prefix documentation
Post by: cormullion on November 13, 2010, 03:22:00 AM
Hi Lutz! Could you expand the documentation for term and prefix? From the descriptions, I can't really explain to myself what the problem is here:


> (set 's "Fred")
"Fred"
> (term s)

ERR: symbol or context expected in function term : "Fred"
> (prefix s)

ERR: symbol expected in function prefix : s
>


s is a symbol? Perhaps it's not supposed to work if it's not in a context, but I think it should be clear from the docs if that's the case.
Title: Re: term and prefix documentation
Post by: Lutz on November 13, 2010, 04:59:22 AM
In term and prefix the argument must evaluate to a symbol.