Quickutilβ

Lisp utilities on demand

Fork me on GitHub
search

There are 2 utilities.

nth-digit v1.0

Get the nth digit in a rational number number in base base. If n is positive, it refers to digits to the left of the decimal point, and if negative, to the right. The digits of a negative number match that of its positive counterpart.

Provides
nth-digit
Source Code
 
first-elt v1.0

Getter and setter for the first element of a sequence.

Provides
first-elt
Requires
emptyp
Source Code