guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simulating rational number addition/subtraction


From: Alex Vong
Subject: Re: Simulating rational number addition/subtraction
Date: Fri, 26 Feb 2016 21:01:42 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

<address@hidden> writes:

> On Wed, Feb 24, 2016 at 06:32:12PM -0500, address@hidden wrote:
>
> [representing rationals]
>
>> This https://mitpress.mit.edu/sicp/full-text/book/book-Z-H-14.html
>> might be enlightening....

There are also video lectures recorded in 1986 in addition to the book
<http://cynic.cc/blog/posts/2015-01-17_uploading_sicp_to_youtube/>.
Lecture 2B talks about implementing rational numbers using CONS, CAR and
CDR as an example of data abstraction. Then, to "terrify" you by showing
CONS, CAR and CDR can be built from "air". Watch the lecture or the book
(the link of enlightenment given by Dale) to find out what does it mean
:)

>
> Yes. "Structure and Interpretation of Computer Programs" (here affectionately
> known as "SICP") *very* *warmly* recommended.
>
> -- t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]