Re: question about type specifiers

<[email protected]>
Newsgroups gmane.lisp.clisp.general
Message-ID <4779FE7B0FF61A4998104E492AD7D6BC0111E08E6037@HE110882.EMEA1.CDS.T-INTERNAL.COM>
Don Cohen wrote:

>(INTEGER #.MOST-NEGATIVE-FIXNUM (0))
>(INTEGER #.MOST-NEGATIVE-FIXNUM -1)
You could use that one, yes.

>(INTEGER #.(+ MOST-POSITIVE-FIXNUM 1))
1+, 1-, how ugly. A real mathematician would likely prefer a notation
Involving exclusive upper and lower bounds, and this is exactly what
the extra parentheses introducing singleton lists mean.

See Section 12.1.6. Interval Designators
http://www.lispworks.com/documentation/HyperSpec/Body/12_af.htm
about Compound Type Specifier Names in 4.2.3
http://www.lispworks.com/documentation/HyperSpec/Body/04_bc.htm

MOD in CLHS still has the CLtL2 example you mention
http://www.lispworks.com/documentation/HyperSpec/Body/t_mod.htm

Regards,
	Jörg Höhle

------------------------------------------------------------------------------
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.