lotrsimp12345 37 Posting Pro in Training 15 Years Ago Please help me out with syntax mistakes Copy to Clipboardfun rappend(L1,L2) if null L2 then L1 else rappend(tl(L2) @ L1, hd(L2)) 0 0 Reply with Quote Share lotrsimp12345 37 Posting Pro in Training 15 Years Ago figured it out. Stupid syntax :(. Here's the answer Copy to Clipboardrappend(L1,L2) if null L2 then L1 else rappend(tl(L2)@L1,[hd(L2)]) 0 0 Reply with Quote Share lotrsimp12345 37 Posting Pro in Training 15 Years Ago darn I can't seem to figure out how to do reverse append. 0 0 Reply with Quote Share Share Facebook Twitter LinkedIn Reply to this topic Be a part of the DaniWeb community We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge. Sign Up — It's Free!
lotrsimp12345 37 Posting Pro in Training 15 Years Ago figured it out. Stupid syntax :(. Here's the answer Copy to Clipboardrappend(L1,L2) if null L2 then L1 else rappend(tl(L2)@L1,[hd(L2)]) 0 0 Reply with Quote Share
lotrsimp12345 37 Posting Pro in Training 15 Years Ago darn I can't seem to figure out how to do reverse append. 0 0 Reply with Quote Share