| 
 Section 5.6 An Example: [Streams]? of Primes  of the Axiom Book says:
"This is how you use generate to generate an infinite stream of primes."
In FriCAS, the function  fricas (1) -> primes := stream(nextPrime, 
 Type: InfiniteTuple?(Integer) but the result is an InfiniteTuple?, not a Stream. The domain InfiniteTuple? is not documented in the book. To create a stream one must explicitly write: fricas primes := stream(nextPrime, 
 Type: Stream(Integer) or fricas primes := construct stream(nextPrime, 
 Type: Stream(Integer) ... --oldk1331,  Wed, 12 Jul 2017 14:24:44 +0000 replyIn ituple.spad, you can see that InfiniteTuple? is represented as Stream.  And there is special treatment for InfiniteTuple? in interpreter code.  Maybe InfiniteTuple? can be removed, to be investigated. | 
![\label{eq1}\left[ 2, \: 3, \: 5, \: 7, \:{11}, \:{13}, \:{17}, \:{19}, \:{2
3}, \:{29}, \: \ldots \right] 
\label{eq1}\left[ 2, \: 3, \: 5, \: 7, \:{11}, \:{13}, \:{17}, \:{19}, \:{2
3}, \:{29}, \: \ldots \right]](images/7291405777588429545-16.0px.png)
![\label{eq2}\left[ 2, \: 3, \: 5, \: 7, \:{11}, \:{13}, \:{17}, \:{19}, \:{2
3}, \:{29}, \: \ldots \right] 
\label{eq2}\left[ 2, \: 3, \: 5, \: 7, \:{11}, \:{13}, \:{17}, \:{19}, \:{2
3}, \:{29}, \: \ldots \right]](images/3140710025114717114-16.0px.png)
![\label{eq3}\left[ 2, \: 3, \: 5, \: 7, \:{11}, \:{13}, \:{17}, \:{19}, \:{2
3}, \:{29}, \: \ldots \right] 
\label{eq3}\left[ 2, \: 3, \: 5, \: 7, \:{11}, \:{13}, \:{17}, \:{19}, \:{2
3}, \:{29}, \: \ldots \right]](images/367262608785121101-16.0px.png)