Fails to compile with message: coerce is local and exported axiom )abbrev domain MOO Moo Moo(A: Tuple Integer): Public == Private where Public ==> CoercibleTo OutputForm with coerce: Tuple Integer -> % Private ==> Tuple Integer add coerce(x: Tuple Integer): % == x pretend % axiom Compiling FriCAS source code from file /var/zope2/var/LatexWiki/1175870838131815031-25px.001.spad using old system compiler. MOO abbreviates domain Moo ------------------------------------------------------------------------ initializing NRLIB MOO for Moo compiling into NRLIB MOO compiling exported coerce : Tuple Integer -> $ MOO;coerce;T$;1 is replaced by x Time: 0.08 SEC. Compare the similar code: axiom )abbrev domain MOO2 Moo2 Moo2(A: List Integer): Public == Private where Public ==> CoercibleTo OutputForm with coerce: List Integer -> % Private ==> List Integer add coerce(x: List Integer): % == x pretend % axiom Compiling FriCAS source code from file /var/zope2/var/LatexWiki/4438779614789292688-25px.002.spad using old system compiler. MOO2 abbreviates domain Moo2 ------------------------------------------------------------------------ initializing NRLIB MOO2 for Moo2 compiling into NRLIB MOO2 compiling exported coerce : List Integer -> $ MOO2;coerce;L$;1 is replaced by x Time: 0.09 SEC. Fixed in OpenAxiom --gdr, Fri, 16 May 2008 19:23:26 -0700 reply
Status: open => fixed somewhere
|