Eric Man
unread,Mar 3, 2012, 10:53:40 PM3/3/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Programming Nu
In CL there is a "type-of" operator that returns whether an atom/list
is a number, boolean, a list, whatever.
In Nu you can call "class" on any object except functions and macros
and it would do the same thing. But it doesn't work for functions and
macros. When encountering (myFunction class) nu would treat class as
an argument.
Is there an equivalent to "type-of" in Nu where I can tell whether an
object is a function, macro, class instance, list?