Help with streams erroring from nowhere

idk if this counts as advanced help with snap, but I was trying out these streams Snap! Build Your Own Blocks and as a programming exercize why am I so bad at spelling I tried to make a

(list (INFINITY v) items of stream () )

menu option, and I edited the APPEND block so that it worked with the stream block that I changed (I made the

stream ()

block actually error instead of reporting a string that says ERROR).

for some reason when I use the blocks together snap thinks I want a stream with 3 values (i dont know where it got that from) and errors. I am so confuzzled.

I switched my pfp again! now its my old one but :snap: ified. credit to @alessandrito123 for Snavanced which is where I got the block.

The version of the Streams library you (@sathvikrias ) used is most likely an abandoned effort (by @bh) to develop an alternative for SICP-based streams. The “official” Streams library v2, as implemented in Snap! v10, doesn’t have this issue:

yeah I know but what is the issue in the code? I wasnt planning on using it, it was just for fun.

Since V10 is going to be launched tomorrow, it's not worth worrying about :slight_smile:

um. I am just trying to find out what is wrong with my code. I am not making this related to snap 10.

Try your code out on V10 and see what happens then - no point in looking backwards :slight_smile:

ok

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.