The stream version of IN FRONT OF. Streams, also called lazy lists, are like lists except that items are not computed until they're needed. This allows for more efficient handling of large computed lists, and even infinite lists. The only piece of magic is here in IN FRONT OF STREAM, whose second input is of type Unevaluated, which means that it's a procedure, with a sort of invisible gray ring. So HEAD OF STREAM is just ITEM 1 OF, but TAIL OF STREAM has a CALL block to make the computation happen. For a tutorial introduction to streams, read SICP 3.5: https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-24.html#%_sec_3.5 or Brian's lecture notes (start on page 74): https://people.eecs.berkeley.edu/~bh/61a-pages/Volume2/notes.pdf The above are clickable links!
pt:a prefixação de _ ao canal _
The stream version of ITEM 1 OF. Streams, also called lazy lists, are like lists except that items are not computed until they're needed. This allows for more efficient handling of large computed lists, and even infinite lists. The only piece of magic is in IN FRONT OF STREAM, whose second input is of type Unevaluated, which means that it's a procedure, with a sort of invisible gray ring. So HEAD OF STREAM is just ITEM 1 OF, but TAIL OF STREAM has a CALL block to make the computation happen. For a tutorial introduction to streams, read SICP 3.5: https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-24.html#%_sec_3.5 or Brian's lecture notes (start on page 74): https://people.eecs.berkeley.edu/~bh/61a-pages/Volume2/notes.pdf The above are clickable links!
pt:o primeiro item do canal _
The stream version of ALL BUT FIRST OF. Streams, also called lazy lists, are like lists except that items are not computed until they're needed. This allows for more efficient handling of large computed lists, and even infinite lists. The only piece of magic is in IN FRONT OF STREAM, whose second input is of type Unevaluated, which means that it's a procedure, with a sort of invisible gray ring. So HEAD OF STREAM is just ITEM 1 OF, but TAIL OF STREAM has a CALL block to make the computation happen. For a tutorial introduction to streams, read SICP 3.5: https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-24.html#%_sec_3.5 or Brian's lecture notes (start on page 74): https://people.eecs.berkeley.edu/~bh/61a-pages/Volume2/notes.pdf The above are clickable links!
pt:um canal com todos os itens de _ menos o primeiro 423true4
The stream version of variadic MAP (any number of input lists, like MULTIMAP in the list utilities library). Streams, also called lazy lists, are like lists except that items are not computed until they're needed. This allows for more efficient handling of large computed lists, and even infinite lists. The only piece of magic is in IN FRONT OF STREAM, whose second input is of type Unevaluated, which means that it's a procedure, with a sort of invisible gray ring. So HEAD OF STREAM is just ITEM 1 OF, but TAIL OF STREAM has a CALL block to make the computation happen. For a tutorial introduction to streams, read SICP 3.5: https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-24.html#%_sec_3.5 or Brian's lecture notes (start on page 74): https://people.eecs.berkeley.edu/~bh/61a-pages/Volume2/notes.pdf The above are clickable links!
pt:a aplicação de _ aos itens dos canais _
The stream version of KEEP. Streams, also called lazy lists, are like lists except that items are not computed until they're needed. This allows for more efficient handling of large computed lists, and even infinite lists. The only piece of magic is in IN FRONT OF STREAM, whose second input is of type Unevaluated, which means that it's a procedure, with a sort of invisible gray ring. So HEAD OF STREAM is just ITEM 1 OF, but TAIL OF STREAM has a CALL block to make the computation happen. For a tutorial introduction to streams, read SICP 3.5: https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-24.html#%_sec_3.5 or Brian's lecture notes (start on page 74): https://people.eecs.berkeley.edu/~bh/61a-pages/Volume2/notes.pdf The above are clickable links!
pt:os itens tais que _ do canal _
The inputs are a stream and a positive integer. SHOW STREAM reports a regular finite list of length less than (for short finite streams) or equal to the second input. It's useful because an infinite stream can't be displayed in a finite amount of time.
pt:uma lista com os itens do canal _ até ao _ º 1001
Make a stream from a finite collection of items, like the LIST primitive. Since this block is typically used for small amounts of data, it does not delay computation of its inputs.
pt:um canal com _ 1
Call this block with STREAM WITH NUMBERS FROM 2 as its input to get the infinite stream of all the prime numbers. It's called SIEVE because the algorithm it uses is the Sieve of Eratosthenes (clickable link): https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes Look inside; it's a beautifully elegant algorithm. For a tutorial introduction to streams, read SICP 3.5: https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-24.html#%_sec_3.5 or Brian's lecture notes (start on page 74): https://people.eecs.berkeley.edu/~bh/61a-pages/Volume2/notes.pdf The above are clickable links!
pt:a crivagem do canal _
The stream version of NUMBERS FROM 1 TO, with no ending number because it reports the infinite stream of all the integers greater than or equal to its input. Read the code! It's deceptively simple. Streams, also called lazy lists, are like lists except that items are not computed until they're needed. This allows for more efficient handling of large computed lists, and even infinite lists. The only piece of magic is in IN FRONT OF STREAM, whose second input is of type Unevaluated, which means that it's a procedure, with a sort of invisible gray ring. So HEAD OF STREAM is just ITEM 1 OF, but TAIL OF STREAM has a CALL block to make the computation happen. For a tutorial introduction to streams, read SICP 3.5: https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-24.html#%_sec_3.5 or Brian's lecture notes (start on page 74): https://people.eecs.berkeley.edu/~bh/61a-pages/Volume2/notes.pdf The above are clickable links!
pt:um canal com os números a partir de _ 1
Read the code while running it,