[CS3304_1381] determining if an atom is a number

New Message Reply About this list Date view Thread view Subject view Author view

Gregory K Taylor (grtaylo3@VT.EDU)
Mon, 6 Mar 2000 12:52:57 -0500


Message-ID:  <002401bf8794$ce838aa0$6601a8c0@campus.vt.edu>
Date:         Mon, 6 Mar 2000 12:52:57 -0500
From: Gregory K Taylor <grtaylo3@VT.EDU>
Subject:      [CS3304_1381] determining if an atom is a number

what want to do is:
lis = (74 * 3)
(isNumber (car lis)) -> #T
(isNumber (cadr lis)) -> ()

I've tried the (token-class atom), but scheme complains.


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Mon Mar 06 2000 - 19:56:05 EST