login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Submitted by : Bill Page at: 2008-05-28T17:12:50-07:00 (2 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

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: 
)show Category


Category


x:Category


Category has Category
Domain has Category
Category has Type

Axiom Version: => /usr/local/lib/open-axiom/x86_64-unknown-linux/1.2.0-2008-05-25

category regression --gdr, Wed, 28 May 2008 17:55:47 -0700 reply
hat is a regression, because the rest of the compiler and interpreter assumes that Category is conceptually a category -- even when it has a domain implementation.

gdr wrote:
  Category is conceptually a category -- even when it has a domain implementation

Could you please explain what that means? :-)

At the conceptual level, OpenAxiom 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.

domains belong to Category --gdr, Wed, 28 May 2008 22:06:22 -0700 reply
OpenAxiom trunk as of 2008-05-29 says this:
 (5) -> Category has Category

   (5)  true
                             Type: Boolean

 (6) -> Domain has Category

   (6)  true
                             Type: Boolean

 (7) -> Category has Type

   (7)  true
                             Type: Boolean
</pre>
<hr/><font size="-1" color="red">
    Some or all expressions may not have rendered properly,
    because Axiom returned the following error:<br/><pre>Error: export AXIOM=/usr/local/lib/open-axiom/x86_64-unknown-linux/1.2.0-2008-05-25; export ALDORROOT=/usr/local/aldor/linux/1.1.0; export PATH=<img alt="ALDORROOT/bin:" title="ALDORROOT/bin:" class="equation" src="images/3937762818335857806-16.0px.png" width="145" height="18"/>PATH; export HOME=/var/zope2/var/LatexWiki; ulimit -t 240; $AXIOM/bin/AXIOMsys &lt; /var/zope2/var/LatexWiki/2700315315001358024-25px.axm
/bin/sh: /usr/local/lib/open-axiom/x86_64-unknown-linux/1.2.0-2008-05-25/bin/AXIOMsys: not found




  Subject:   Be Bold !!
  ( 8 subscribers )  
Please rate this page: