axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Axiom-developer] AxiomUnit


From: Martin Rubey
Subject: [Axiom-developer] AxiomUnit
Date: 04 Jun 2007 21:02:23 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Dear Christian!

I just did something extremely simple minded, with the following result:

(5) -> )sh MyTextWriter
 MyTextWriter  is a domain constructor
 Abbreviation for MyTextWriter is MYTEXTW 
 This constructor is exposed in this frame.
 Issue )edit csaxcompat2.as to see algebra source code for MYTEXTW 

------------------------------- Operations --------------------------------
 flush! : % -> %                       stderr : () -> %
 stdout : () -> %                      write! : (ACCharacter,%) -> Void
 textWriter : (ACCharacter -> NIL) -> %
 textWriter : ((ACCharacter -> NIL),(() -> NIL)) -> %

(5) -> write!(char "H", stderr())
H                                                                   Type: Void

The idea I had was:

Martin Rubey <address@hidden> writes:

> I did not try, but it is quite possible that one could even use the existing
> implementation from libaldor.  Hm, I should really try that.

I set Pointer equal to MachineInteger, I think that's OK for a hack.  And, I
hope that's not a problem, Axiom cannot distinguish between stdout and stderr.

Given that, what remains for AxiomUnit?

Martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]