This fails fricas (1) -> (Integer, Type: Tuple(Type)
fricas Tuple Type Type: Tuple(Category)
But this works fricas List Type
Type: Type
The following domain called [One] can still do some useful things with them by disguising the fact that they are domains, so in aldor have a type and your aldor programs can return this to axiom. For example: aldor #include "axiom.as" aldor Compiling FriCAS source code from file /var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/5624154441249846913-25px004.as using Aldor compiler and options -O -Fasy -Fao -Flsp -lfricas -Mno-ALDOR_W_WillObsolete -DFriCAS -Y $FRICAS/algebra -I $FRICAS/algebra Use the system command )set compiler args to change these options. "/var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/5624154441249846913-25px004.as", fricas aInteger:=make()$AldorDomain(Integer) Ref:http://lists.nongnu.org/archive/html/axiom-developer/2005-09/msg00250.html http://lists.nongnu.org/archive/html/axiom-developer/2005-09/msg00248.html aldor #include "axiom.as" aldor Compiling FriCAS source code from file /var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/domain.as using Aldor compiler and options -O -Fasy -Fao -Flsp -lfricas -Mno-ALDOR_W_WillObsolete -DFriCAS -Y $FRICAS/algebra -I $FRICAS/algebra Use the system command )set compiler args to change these options. "/var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/domain.as", And it nearly solves the problem! fricas a:=(Integer, Type: Tuple(Type)
Except: \begin{axiom} select(a,1) \end{axiom} causes Axiom to abort. See also #187 --kratt6, Fri, 28 Dec 2007 15:11:47 -0800 reply Category: Aldor Library Compiler => Axiom Compiler
Status: open => duplicate
|