[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DIGIT-WEIGHT/DIGITP and funny input bases
- To: KMP at MIT-MC, RWK at MIT-MC
- Subject: Re: DIGIT-WEIGHT/DIGITP and funny input bases
- From: Barry Margolin <BARMAR at MIT-MC>
- Date: Wed ,8 Oct 80 02:12:00 EDT
- Cc: LISP-FORUM at MIT-MC
Kent has a point. Supposing I were to come up with a funny
base that I wanted to input my numbers in. I would prefer to
just have to rewrite the DIGIT=WEIGHT function to accept a
tag for this base, and then my code (which might be or might
duplicate the functionality of-INPUT FIXNUMS) would work in
this new base. This type of inormation about turning characters
into numbers is best left at a low level.
-Barmar