In OpenAxiom functions can return domain-values. This works for example in axiom MyPair(X:Domain,Y:Domain):Domain == Record(p1:X,p2:Y) Type: Void
axiom MyPair(Integer,Float) axiom Compiling function MyPair with type (Domain,Domain) -> Domain Compiled code for MyPair has been cleared.
Type: Domain
where But I cannot use a compiled type such as axiom MyPair2(X:Domain,Y:Domain):Domain == Product(X,Y) Type: Void
axiom MyPair2(Integer,Float) axiom Product(Integer,Float)
Type: Domain
... --Bill Page, Wed, 28 May 2008 20:08:20 -0700 reply Axiom Version: => /usr/local/lib/open-axiom/x86_64-unknown-linux/1.2.0-2008-05-25
|