|
From: | Bill Page |
Subject: | [Axiom-developer] [#206 Interpreter code generation failed for function returning a Type] |
Date: | Fri, 23 Sep 2005 12:17:59 -0500 |
Changes http://wiki.axiom-developer.org/206InterpreterCodeGenerationFailedForFunctionReturningAType/diff -- ++added: Here is the same function in SPAD: \begin{spad} )abbrev package TT testtype testtype(): exports == implementation where exports == with testt: (Integer) -> Type implementation == add testt(x) == x=0 => Integer Float \end{spad} Calling this function like this:: !\begin{axiom} testt(1) \end{axiom} causes Axiom to crash:: (1) -> testt(1) >> System error: Caught fatal error [memory may be damaged] -- forwarded from http://wiki.axiom-developer.org/address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |