On Thursday, June 11, 2015 at 9:34:57 PM UTC-4, John Gabriele wrote:

>
> ~~~
> (integer? 5)   ;=> true     Yes
> (integer? 5N)  ;=> true     Yes
> (integer? 5.1) ;=> false    
>
> (float? 5.1)  ;=> true
> (float? 5.1M) ;=> false (?!)
> ~~~
>
>
Whoops. Please ignore the two "Yes"'s.

Also, I think I just fell further into the rabbit hole:

~~~
(rational? 5.1)  ;=> false
(rational? 5.1M) ;=> true (?!)

(decimal? 5.1)   ;=> false
(decimal? 5.1M)  ;=> true (?!)
~~~

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to