Solve Programming Problems in Scheme
You may use another Scheme interpreter if you wish.
Submit your source files, including several test cases to show your solutions work as expected.
Write a function filter that takes a predicate and a list as argument and returns a list of only those elements that satisfy the predicate.
(filterodd?'(123456789)) ==> (13579)
Write a function explode that takes a symbol as input and returns a list of symbols corresponding to its individual characters.
(explode 'apple) ==> (a p p l e) (explode 'a) ==> (a)
Write a function implode that is the inverse of explode. It takes a list of one character symbols and combines them to form a single symbol.
(implode '(a p p l e)) ==> apple (implode (explode 'ASU)) ==> ASU
Write a program to solve the following problem:
Lieutenant Uhura is visiting the space station K7 from the USS Enterprise. While there, she meets a man named Cyrano Jones who sells her a pet:...