Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!apple!vsi1!frame!eeg From: eeg@frame.UUCP (Eric Griswold) Newsgroups: comp.lang.scheme Subject: Help a novice scheme programmer Message-ID: <3589@frame.UUCP> Date: 11 Oct 89 23:09:37 GMT Reply-To: eeg@frame.com (Eric Griswold) Distribution: usa Organization: Frame Technology Corp. San Jose, Calif. Lines: 14 Disclaimer: Author Is Responsibility For Contents I am teaching myself Scheme from the Dybvig book. After reading it once through, I am doing the exercises. One near the beginning has me stumped: "A more elegant way to define cadr and cddr than given in this section is to define a procedure that composes two procedures to create a third. Whrite the procedure 'compose', such that (compose proc1 proc2) is the composition of proc1 and proc2 [assuming both take one argument]. Use compose to define cadr and cddr." I give up. Please *MAIL* me a solution (hints and any other pedantic messages don't count as solutions) && I will summarize if appropriate.