Post Reply 
Programming puzzles: processing lists!
05-27-2017, 07:40 PM
Post: #98
RE: Programming puzzles: processing lists!
All of my tests were with exact integers in exact mode. I have the library stored in port 2 (flash) if that makes a difference.

Example input:

{1 2 3 4 5 6 7 8}
{4}
{9}


Output:
{1 2 3 9 5 6 7 8}


Example 2:

{1 2 3 4 5 6 7 8}
\<< {4} {9} LREPL \>> EVAL

Output: {1 2 3 4 5 6 7 8}
(That is, no replacement)

HTH,
John
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 - 05-27-2017 07:40 PM



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