|
|
|
last edited 9 years ago by test1 |
| 1 2 3 4 5 6 7 8 9 10 11 12 13 | ||
|
Editor: gdr
Time: 2008/05/28 22:06:22 GMT-7 |
||
| Note: domains belong to Category | ||
added:
From gdr Wed May 28 22:06:22 -0700 2008
From: gdr
Date: Wed, 28 May 2008 22:06:22 -0700
Subject: domains belong to Category
Message-ID: <20080528220622-0700@axiom-wiki.newsynthesis.org>
OpenAxiom trunk as of 2008-05-29 says this:
(1) -> Category has Category
(1) ->
(1) true
Type: Boolean
(2) -> Domain has Category
(2) ->
(2) true
Type: Boolean
(3) -> Category has Type
(3) ->
(3) true
Type: Boolean
The file algebra/domain.spad.pamphlet contains this definition:
)abbrev domain CATEGORY Category ++ Author: Gabriel Dos Reis ++ Date Create: February 16, 2008. ++ Date Last Updated: February 16, 2008. ++ Basic Operations: coerce ...
but OpenAxiom? does not always treat Category this way:
(1) -> )show Category
The )show system command is used to display information about types or partial types. For example,)show Integer will show information about Integer .
Category is not the name of a known type constructor. If you want to see information about any operations named Category ,issue )display operations Category
Category
| (1) |
x:Category
There are no library operations named Category Use HyperDoc Browse or issue )what op Category to learn if there is any operation containing " Category " in its name.
Cannot find a no-argument definition or library operation named Category .
Category has Category
There are no library operations named Category Use HyperDoc Browse or issue )what op Category to learn if there is any operation containing " Category " in its name.
Cannot find a no-argument definition or library operation named Category .
Category is conceptually a category -- even when it has a domain implementation
Could you please explain what that means? :-)
At the conceptual level, OpenAixom? thinks of Category as a category. The category of categories. However, it has a domain implementation, e.g. as reported by )show. That is just an implementation detail. OpenAxiom? trunk as of 2008-05-29 says this:(1) -> Category has Category (1) -> (1) true Type: Boolean (2) -> Domain has Category (2) -> (2) true Type: Boolean (3) -> Category has Type (3) -> (3) true Type: Boolean