|
|
last edited 16 years ago by Bill Page |
1 2 3 4 | ||
Editor: Bill Page
Time: 2008/05/28 20:09:23 GMT-7 |
||
Note: reformat |
In OpenAxiom functions can return domain-values. This works for example in
MyPair(X:Domain,Y:Domain):Domain == Record(p1:X, p2:Y)
Domain is not a valid type.
where Record
is a built-in type.
But I cannot use a compiled type such as Product
in place of Record
MyPair2(X:Domain,Y:Domain):Domain == Product(X, Y)
Domain is not a valid type.
Product(Integer,Float)
(1) |