What's wrong here?

https://perchance.org/tee--temp#edit

Why does it say "no more items in the consumable 'Thing' list)"?

you are viewing a single comment's thread
view the rest of the comments
[+] 1 point 9 months ago (2 children)
  • [–] [S] 1 point 9 months ago (1 child)

    That's looking very promising! I can't try it right now, but I think it'll do, once I parameterize the function to allow passing in the two lists to be combined.

    Thanks muchly!

  • source
  • parent
  • hideshow 1 child comment
  • [–] [S] 2 points 9 months ago* (last edited 9 months ago)

    Yes. That works great! Thanks again!

    Since I'm wanting to be able to use this multiple times, for various lists, I end up with:

    AdjectiveNoun(Adj, Noun)=>
      let combo=[];
      for(const a of Adj.selectAll) {
        for(const n of Noun.selectAll) {
          combo.push([a,n].join(' '));
        };
      };
      return [joinlists(combo).consumableList];
    
  • source
  • parent