Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to get atom's type?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Eric Man  
View profile  
 More options Mar 3 2012, 10:53 pm
From: Eric Man <meric...@gmail.com>
Date: Sat, 3 Mar 2012 19:53:40 -0800 (PST)
Local: Sat, Mar 3 2012 10:53 pm
Subject: How to get atom's type?
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?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Man  
View profile  
 More options Mar 3 2012, 10:59 pm
From: Eric Man <meric...@gmail.com>
Date: Sat, 3 Mar 2012 19:59:58 -0800 (PST)
Local: Sat, Mar 3 2012 10:59 pm
Subject: Re: How to get atom's type?

I now realise the answer lies in the "send" operator.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »