Post Reply 
Programming puzzles: processing lists!
01-28-2019, 10:25 PM
Post: #261
RE: Programming puzzles: processing lists!
BTW, your program reminds me of another useful little program which transforms a list into overlapping sublists:

Code:

\<< \-> n
   \<< n
      \<< n \->LIST
      \>> DOSUBS
   \>>
\>>

For example, with the list { 1 2 3 4 5 } on level 2 and 2 on level 1, result is
{{ 1 2 }{ 2 3 }{ 3 4 }{ 4 5 }}
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Programming puzzles: processing lists! - John Keith - 01-28-2019 10:25 PM



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