|
|
last edited 14 years ago by Bill Page |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ||
Editor: gdr
Time: 2008/04/06 18:56:44 GMT-7 |
||
Note: |
added:
From gdr Sun Apr 6 18:56:44 -0700 2008
From: gdr
Date: Sun, 06 Apr 2008 18:56:44 -0700
Subject:
Message-ID: <20080406185644-0700@axiom-wiki.newsynthesis.org>
Humm, this version of OpenAxiom seems a bit old.
Any change of upgrade to more recent ones?
What version?
axiom)version Value = "Tuesday January 29, 2008 at 18:03:22 "
New domain Domain:
axiom)show Domain Domain is a domain constructor Abbreviation for Domain is DOMAIN This constructor is not exposed in this frame. Issue )edit /usr/local/lib/open-axiom/x86_64-unknown-linux/1.1.0-2008-01-28/src/algebra/domain.spad to see algebra source code for DOMAIN ------------------------------- Operations -------------------------------- coerce : % -> OutputForm reflect : ConstructorCall -> % reify : % -> ConstructorCall showSummary : % -> Void
For example:
axiomLD:=[Integer,Float,String]
(1) |
New domain Syntax:
axiom)show Syntax Syntax is a domain constructor Abbreviation for Syntax is SYNTAX This constructor is exposed in this frame. Issue )edit /usr/local/lib/open-axiom/x86_64-unknown-linux/1.1.0-2008-01-28/src/algebra/SYNTAX.spad to see algebra source code for SYNTAX ------------------------------- Operations -------------------------------- ?=? : (%,%) -> Boolean autoCoerce : % -> String autoCoerce : % -> Symbol autoCoerce : % -> DoubleFloat autoCoerce : % -> Integer buildSyntax : (%,List %) -> % coerce : % -> String coerce : String -> % coerce : % -> Symbol coerce : Symbol -> % coerce : % -> DoubleFloat coerce : DoubleFloat -> % coerce : % -> Integer coerce : Integer -> % coerce : % -> OutputForm compound? : % -> Boolean convert : SExpression -> % convert : % -> SExpression getOperands : % -> List % hash : % -> SingleInteger latex : % -> String nil? : % -> Boolean ?~=? : (%,%) -> Boolean buildSyntax : (Symbol,List %) -> % ?case? : (%,[||] String) -> Boolean ?case? : (%,[||] Symbol) -> Boolean ?case? : (%,[||] DoubleFloat) -> Boolean ?case? : (%,[||] Integer) -> Boolean getOperator : % -> Union(Integer,DoubleFloat,Symbol,String,%)
axiomreify(String)
(2) |
axiomsqrt(2)
(3) |
axiom)version Value = "Tuesday January 29, 2008 at 18:03:22 "