Basically delete-second2 has to take a input of a list, if the list has more than 1 item then it will delete the second item and return the new list, if it doesnt have more than 1 item it will just return the original list. ________________________________________ From: danny....@gmail.com [danny....@gmail.com] on behalf of Danny Yoo [d...@hashcollision.org] Sent: Monday, September 17, 2012 12:36 PM To: Ashley Fowler Cc: Matthias Felleisen; users@racket-lang.org Subject: Re: [racket] Delete Second
> 2. Write a procedure (delete-second1 LS) that takes a list LS of at > least two items and returns the same list only with the second item > deleted. You may assume the input list has at least two elements. > > Tests: > (delete-second1 '(3 7)) ==> (3) > (delete-second1 '(a b c d)) ==> (a c d) Ok. Here are questions that come to mind: * Did you do this second problem yet? * How is delete-second2 similar to delete-second1? * How is delete-second2 different from delete-second1? ____________________ Racket Users list: http://lists.racket-lang.org/users