Subject: compile Maxima file containing a large list
From: Raymond Toy
Date: Sun, 05 Aug 2012 09:31:02 -0700
On 8/5/12 3:58 AM, Volker van Nek wrote:
> It seems that the Maxima list doesn't want to be BCC'ed. Please excuse
> if you get this twice.
>
> 2012/8/5 Volker van Nek <volkervannek at gmail.com
> <mailto:volkervannek at gmail.com>>
>
> Thanks to Ray and Steve for your answers.
>
> Changing *print-length* accordingly solves my problem but this is no
> sulution for users on Maxima level.
>
> with-standard-io-syntax is basically a good idea but here is what I got:
>
> (let ((*print-length* 3)
> (list '(1 2 3 4 5 6 7)) )
> (with-standard-io-syntax (print list))
> (print list) )
>
>
> CLISP:
>
> (1. 2. 3. 4. 5. 6. 7.)
This is correct. A decimal point is allowed after an integer. If you
try this in other lisps, you will see that they return an integer, not a
float.
>
>
> GCL:
>
> Error: The function WITH-STANDARD-IO-SYNTAX is undefined.
Shouldn't be too hard to create our own version of this macro.
Ray