Article View: net.lang.lisp
Article #694Help with Abelson & Sussman problem?
From: Joseph D. Sloan
Date: Tue, 14 Oct 1986 12:18
Date: Tue, 14 Oct 1986 12:18
15 lines
1083 bytes
1083 bytes
I'm looking for help with a problem in Abelson & Sussman. Exercise 2.5 calls for representing the integers as functions, i.e., Church numerals. The stated problem is fairly straight forward considering the hint. My question or dilemma is what comes next? Given the functions, how do you manipulate them as numbers? For example, how do you test for equality of two functions (integers)? Am I just being dense? Should this be obvious? Any help or pointers would be appreciated. Joe Sloan, duke!jds Box 3090, DUMC Durham, NC 27710 (919) 684-3754
Technical Details
Message-ID:
<8712@duke.duke.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!sri-spam!sri-unix!hplabs!pyramid!prls!philabs!mcnc!duke!jdsShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!sri-spam!sri-unix!hplabs!pyramid!prls!philabs!mcnc!duke!jds From: jds@duke.UUCP (Joseph D. Sloan) Newsgroups: net.lang.lisp Subject: Help with Abelson & Sussman problem? Message-ID: <8712@duke.duke.UUCP> Date: Tue, 14-Oct-86 08:18:28 EDT Article-I.D.: duke.8712 Posted: Tue Oct 14 08:18:28 1986 Date-Received: Wed, 15-Oct-86 21:41:55 EDT Organization: Duke University CS Dept.; Durham, NC Lines: 15