[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NTH-VALUE
- To: Earl A. Killian <EAK at MIT-MC>
- Subject: NTH-VALUE
- From: David A. Moon <Moon at SCRC-TENEX>
- Date: Thu, 02 Jun 1983 03:43:00 -0000
- Cc: common-lisp at SU-AI
- In-reply-to: The message of 1 Jun 83 22:42-EDT from Earl A. Killian <EAK at MIT-MC>
Date: 1 June 1983 22:42 EDT
From: Earl A. Killian <EAK @ MIT-MC>
I am in favor of this. I think it will be very very common,
because (NTH-VALUE 2 (FLOOR A B)) is how you would do modular
arithmetic.
I'm not opposed to NTH-VALUE. But allow me to point out that
(NTH-VALUE 2 (FLOOR A B)) is NIL and (NTH-VALUE 1 (FLOOR A B))
is (MOD A B). We are sure not going to have ONE function in
this language that uses one-origin indexing, with everything else
using zero-origin indexing!