On Thu, Dec 04, 2008 at 05:16:03PM -0700, Robert Dodier wrote:
> On Thu, Dec 4, 2008 at 11:21 AM, Oliver Kullmann
> <O.Kullmann at swansea.ac.uk> wrote:
>
> > (%i313) S : dual_cs({{1}});
> > (%o313) {{1}}
> > (%i314) S;
> > (%o314) {{1}}
> > (%i315) is(S = {{1}});
> > (%o315) false
>
> What is printed by:
>
> :lisp |$s| <--- NOTE: lowercase s
>
> and by:
>
> {{1}};
> :lisp $%
>
As you guessed:
(%i388) :lisp |$s|
(($SET SIMP) ((${ SIMP) 1))
(%i388) {{1}};
(%o388) {{1}}
(%i389) :lisp $%
(($SET SIMP) (($SET SIMP) 1))
> My first guess is that one of these is like (($SET) ...) and the
> other is like ((${) ...). I seem to recall a bug that was fixed a
> while ago --- in some circumstances {...} was parsed as
> ((${) ...) and not as (($SET) ...). What does build_info(); report?
>
(%i389) build_info();
Maxima version: 5.17.0
Maxima build date: 16:58 12/4/2008
host type: x86_64-unknown-linux-gnu
lisp-implementation-type: CLISP
lisp-implementation-version: 2.47 (2008-10-23) (built 3435932819) (memory 3437398720)
I'll try now to extract some code to reproduce the error.
Oliver
--
Dr. Oliver Kullmann
Computer Science Department
Swansea University
Faraday Building, Singleton Park
Swansea SA2 8PP, UK
http://cs.swan.ac.uk/~csoliver/