|
|
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/01/26 15:34:53 GMT-8 |
||
Note: coerce to OutputForm missing from AlgebraicNumber? |
added:
From gdr Sat Jan 26 15:34:53 -0800 2008
From: gdr
Date: Sat, 26 Jan 2008 15:34:53 -0800
Subject: coerce to OutputForm missing from AlgebraicNumber?
Message-ID: <20080126153453-0800@axiom-wiki.newsynthesis.org>
In-Reply-To: <20071216191121-0800@axiom-wiki.newsynthesis.org>
That bug has been corrected in recent versions of OpenAxiom. Any chance for update?
What version?
axiom)version Value = "Sunday December 16, 2007 at 18:43:31 "
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 /home/page/local/lib/open-axiom/x86_64-unknown-linux/1.1.0-2007-12-09/src/algebra/domain.spad to see algebra source code for DOMAIN ------------------------------- Operations -------------------------------- coerce : % -> OutputForm reify : % -> Syntax 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 /home/page/local/lib/open-axiom/x86_64-unknown-linux/1.1.0-2007-12-09/src/algebra/syntax.spad to see algebra source code for SYNTAX ------------------------------- Operations -------------------------------- buildSyntax : (%,List %) -> % coerce : String -> % coerce : Symbol -> % coerce : DoubleFloat -> % coerce : Integer -> % coerce : % -> OutputForm convert : % -> String convert : % -> Symbol convert : % -> DoubleFloat convert : % -> Integer convert : SExpression -> % convert : % -> SExpression getOperands : % -> List % nil? : % -> 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) Internal Error The function coerce with signature % -> OutputForm is missing from domain AlgebraicNumber