Post Reply 
Programming puzzles: processing lists!
04-26-2017, 06:44 PM
Post: #49
RE: Programming puzzles: processing lists!
(04-26-2017 06:24 PM)pier4r Wrote:  David your new #3, #6, #7, #8 looks like variant C solutions (use whatever you like, not only list operations), am I wrong?

Ah wait there is the sub command, I have to check the Aur.

As soon as possible I will compare them to mine.

That wasn't my intent. I was actually trying to force myself to use list commands wherever I could.

I consider SUB to be a list command in this context, since I am giving it a list and expecting one in return. I'm not exploding the list and doing anything with the elements. So to me, 3, 7, and 8 are all still variant A.

I'm also not sure why you would classify #6 as anything but variant A; the main steps used are SORT, DOSUBS (x2), and ΣLIST. Is there something going on with it that doesn't fit the "A" classification?

If I were to approach these as variant C, I would likely use sysRPL instead. Smile

It's your challenge, so you get to make the rules as you see fit. I'll happily agree to whatever classification you choose for them.
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Programming puzzles: processing lists! - DavidM - 04-26-2017 06:44 PM

User(s) browsing this thread: 4 Guest(s)