Working with lists and the fantastic list-abs, but got stuck on what seem like a couple of simple problems.
-
How to find the lowest value in a list of unknown length, that isn't a 0 or 1.
-
In a list of unknown length, exchange the values for others based on a key e.g. when element=32 change element to 444 and so on.
I'm guessing the way to do it would be to have a very long [unpack] running into a bank of [sel] objects that trigger corresponding messages.
Then a very long [pack], then split the list to the input length?
Haven't tried to implement it yet, maybe there's a more efficient way?