Aldor-Meet On Date: Nov 19, 2007 10:58 AM Oleg Golubitsky wrote to aldor-l By analogy with A simple test (see below) confirmed this semantics;
I also could not find a description of fricas (1) -> <aldor> #include "aldor" define C1:Category == with { f: Integer; g: Integer; } define C2:Category == with { f: Integer; h: Integer; } D: Meet(C1, fricas Compiling FriCAS source code from file /var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/2046275806961882305-25px001.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. fricas Compiling Lisp source code from file ./2046275806961882305-25px001.lsp Issuing )library command for 2046275806961882305-25px001 fricas Reading /var/aw/var/LatexWiki/2046275806961882305-25px001.asy C1 is now explicitly exposed in frame initial C1 will be automatically loaded when needed from /var/aw/var/LatexWiki/2046275806961882305-25px001 C2 is now explicitly exposed in frame initial C2 will be automatically loaded when needed from /var/aw/var/LatexWiki/2046275806961882305-25px001 D is now explicitly exposed in frame initial D will be automatically loaded when needed from /var/aw/var/LatexWiki/2046275806961882305-25px001 The FriCAS library apparently does not define aldor #include "fricas" Meet(T: Tuple Category): Category == with; aldor Compiling FriCAS source code from file /var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/3470372493881279901-25px002.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. Compiling Lisp source code from file ./3470372493881279901-25px002.lsp Issuing )library command for 3470372493881279901-25px002 Reading /var/aw/var/LatexWiki/3470372493881279901-25px002.asy Meet is now explicitly exposed in frame initial Meet will be automatically loaded when needed from /var/aw/var/LatexWiki/3470372493881279901-25px002 C1 is already explicitly exposed in frame initial C1 will be automatically loaded when needed from /var/aw/var/LatexWiki/3470372493881279901-25px002 D1 is now explicitly exposed in frame initial D1 will be automatically loaded when needed from /var/aw/var/LatexWiki/3470372493881279901-25px002 C2 is already explicitly exposed in frame initial C2 will be automatically loaded when needed from /var/aw/var/LatexWiki/3470372493881279901-25px002 D2 is now explicitly exposed in frame initial D2 will be automatically loaded when needed from /var/aw/var/LatexWiki/3470372493881279901-25px002 M12 is now explicitly exposed in frame initial M12 will be automatically loaded when needed from /var/aw/var/LatexWiki/3470372493881279901-25px002 DM12 is now explicitly exposed in frame initial DM12 will be automatically loaded when needed from /var/aw/var/LatexWiki/3470372493881279901-25px002 J12 is now explicitly exposed in frame initial J12 will be automatically loaded when needed from /var/aw/var/LatexWiki/3470372493881279901-25px002 DJ12 is now explicitly exposed in frame initial DJ12 will be automatically loaded when needed from /var/aw/var/LatexWiki/3470372493881279901-25px002 fricas f()$DM12
Type: Integer
fricas -- expect not defined g()$DM12 fricas -- expect False,
Type: Record(D1hasM12: Boolean,
Comment of Ralf Hemmecke 20-Nov-2007: I would expect (false,false) for main2(), because, DM12 is not explicitly declared to be of type C1 or C2 even if its "add" domain has all the exports (except for the names C1 and C2). fricas -- expect True,
Type: Record(M12hasC1: Boolean,
fricas -- expect True,
Type: Record(DJ12hasC1: Boolean,
fricas -- expect True,
Type: Record(D1hasMeet: Boolean,
Comment of Ralf Hemmecke 20-Nov-2007: That main4() returns (false, false, true) should be considered a bug. |