Forums before death by AOL, social media and spammers... "We can't have nice things"
|    sci.math.symbolic    |    Symbolic algebra discussion    |    10,432 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,428 of 10,432    |
|    Rosario19 to All    |
|    Re: [Axiom] How to return a Stream or on    |
|    17 May 17 10:30:44    |
      From: Ros@invalid.invalid              On Wed, 17 May 2017 10:03:39 +0200, Rosario19 wrote:              >How to return a Stream or better one Union(List INT, Stream INT) from       >a function?       >       >f(x:PI):Stream INT==(return expand([x..]))       >g(x:PI):Stream INT==(return [i for i in x..])       >       >f1(x:PI):Stream INT==(expand([x..]))       >g1(x:PI):Stream INT==([i for i in x..])       >g2(x:PI):Stream INT==(q:=x;r:=[i for i in q..]; return r)       >       >f and f1 has problem of conversion, g and g1 g2 seg fault Axiom              i find that this would be ok              g(x)==expand((x..)::UniversalSegment INT)              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca