Using OpenAxiom fricas (1) -> )version spad )abbrev domain MORPH Morphism T ==> SetCategory Morphism(source:T, spad Compiling FriCAS source code from file /var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/6008188987750019428-25px002.spad using old system compiler. MORPH abbreviates domain Morphism ------------------------------------------------------------------------ initializing NRLIB MORPH for Morphism compiling into NRLIB MORPH ************* USER ERROR ********** available signatures for Rep: NONE NEED Rep: () -> ? ****** comp fails at level 1 with expression: ****** ((DEF (|Rep|) (NIL) (|SExpression|))) ****** level 1 ****** $x:= (DEF (Rep) (NIL) (SExpression)) $m:= $EmptyMode $f:= ((((~= #) (= #) (|coerce| #) (|latex| #) ...))) The naive representation of Error: Caught fatal error [memory may be damaged] ... Error signalled by EVALHOOK. Backtrace: system:universal-error-handler > evalhook > lambda > lambda-closure > block > apply > APPLY But using fricas )show Morphism(Float, Next let's study how this sort of thing is accomplished in a similar domain. spad )abbrev domain HOM Hom ++ Based on Automorphism by: Manuel Bronstein ++ Description: ++ Hom(R, spad Compiling FriCAS source code from file /var/lib/zope2.10/instance/axiom-wiki/var/LatexWiki/8077618115899383420-25px004.spad using old system compiler. HOM abbreviates domain Hom ------------------------------------------------------------------------ initializing NRLIB HOM for Hom compiling into NRLIB HOM ************* USER ERROR ********** available signatures for Rep: NONE NEED Rep: () -> ? ****** comp fails at level 1 with expression: ****** ((DEF (|Rep|) (NIL) (|SExpression|))) ****** level 1 ****** $x:= (DEF (Rep) (NIL) (SExpression)) $m:= $EmptyMode $f:= ((((~= #) (= #) (|coerce| #) (|latex| #) ...))) fricas p:=morphism((x:Integer):Float +-> x+1.0)$Hom(Integer, |