|
|
last edited 16 years ago by gdr |
1 2 3 4 5 6 7 | ||
Editor: Bill Page
Time: 2008/05/28 22:19:19 GMT-7 |
||
Note: formatting |
changed: -Here is what I meant by the comment on `builtin' domain. - -(2) -> showSummary Union(Integer,String) ---------------------Predicate summary------------------- ---------------------Attribute summary------------------- Here is what I meant by the comment on `builtin' domain:: (2) -> showSummary Union(Integer,String) --------------------Predicate summary------------------- --------------------Attribute summary------------------- changed: -this is clearly no right. But the reason it is that way is that Union this is clearly not right. But the reason it is that way is that Union
The function showSummary
defined in the domain 'Domain':
showSummary: % -> Void ++ showSummary(d) prints out implementation detail information ++ of domain `d'.
returns the error message:
>> System error: |getConstructorPredicateFromDB| is invalid as a function.
axiomshowSummary(Integer) --------------------Predicate summary------------------- >> System error: |getConstructorPredicateFromDB| is invalid as a function.
axiomx:RomanNumeral:=1984
(1) |
axiomshowSummary(RomanNumeral)$Domain --------------------Predicate summary------------------- >> System error: |getConstructorPredicateFromDB| is invalid as a function.
Here is what I meant by the comment on `builtin' domain:
(2) -> showSummary Union(Integer,String) --------------------Predicate summary------------------- --------------------Attribute summary------------------- Union is an unknown constructor and so is unavailable. Did you mean to use -> but type something different instead?
this is clearly not right. But the reason it is that way is that Union is a builtin constructor.
Now showSummary works for non-builtin domains (when it doesn't it surely is a bug :-)