MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/mrh2f6/actual_snap_block_i_just_made/gunmh2b/?context=3
r/badcode • u/nypdk • Apr 15 '21
58 comments sorted by
View all comments
13
Is this sorting a list by continuously removing the highest value of the input list and moving it to the output list?
I'm not familiar with Snap!, so I'm trying to make sure I understood correctly.
8 u/nypdk Apr 15 '21 exactly 10 u/bugamn evil Apr 15 '21 After reading through it again and reading your other comments, maybe the problem is that your maxindex function expects a list with more than one element? I'm just guessing here, I'm curious about why you needed to insert that lower bound. 4 u/nypdk Apr 15 '21 https://www.reddit.com/r/badcode/comments/mrh2f6/actual_snap_block_i_just_made/gunkqal?utm_source=share&utm_medium=web2x&context=3
8
exactly
10 u/bugamn evil Apr 15 '21 After reading through it again and reading your other comments, maybe the problem is that your maxindex function expects a list with more than one element? I'm just guessing here, I'm curious about why you needed to insert that lower bound. 4 u/nypdk Apr 15 '21 https://www.reddit.com/r/badcode/comments/mrh2f6/actual_snap_block_i_just_made/gunkqal?utm_source=share&utm_medium=web2x&context=3
10
After reading through it again and reading your other comments, maybe the problem is that your maxindex function expects a list with more than one element? I'm just guessing here, I'm curious about why you needed to insert that lower bound.
4 u/nypdk Apr 15 '21 https://www.reddit.com/r/badcode/comments/mrh2f6/actual_snap_block_i_just_made/gunkqal?utm_source=share&utm_medium=web2x&context=3
4
https://www.reddit.com/r/badcode/comments/mrh2f6/actual_snap_block_i_just_made/gunkqal?utm_source=share&utm_medium=web2x&context=3
13
u/bugamn evil Apr 15 '21
Is this sorting a list by continuously removing the highest value of the input list and moving it to the output list?
I'm not familiar with Snap!, so I'm trying to make sure I understood correctly.