Ralf Hemmecke <[EMAIL PROTECTED]> writes: | > | But at least if I defined constants it should be no problem as in the | > | following program. | > | | #include "aldor" | > | #include "aldorio" | > | f(a: Integer): (Integer, DoubleFloat) == { | > | b: Integer == 2; | > | b: DoubleFloat == 7.0; | > | (b, b); | > | } | > | import from Integer, DoubleFloat; | > | (i, d) := f(1); | > | stdout << i << ", " << d << newline; | > | | It is completely clear what the last b's are. | > It may be completely clear to some, not so obvious to others. | | The return type says everything.
The return type clearly says what the function returns, no dispute there. How do you feel about f(a: Integer): (Integer, DoubleFloat) == { b: Integer == 2; b: DoubleFloat == 7.0; (b, b); (b, b); Is it OK? -- Gaby ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ open-axiom-devel mailing list open-axiom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-axiom-devel