Added: 2 years ago
From: MIT
Views: 23,121
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (32)

Sign In or Sign Up now to post a comment!
  • keep spirit MIT :D

  • Thanks for the great video

  • Very awesome

  • awesome

  • thanks for the video!!

  • but b wasn't defined in the iterative implementation of SUM, or was it?

  • @iateyourgranny "b" is the ubber bound, its just a number.

  • @YouDabian *upper

  • @YouDabian uh-huh, and where is its value defined?

  • @iateyourgranny Just like a, which is not assigned a value either, Its a formal parameter of sum. It will be difined when you call sum. For instance: (sum-int 1 5) will evaluate to 1+2+3+4+5 == 15. (In this case, a will be 1 and b will be 5).

  • @iateyourgranny It seems like you're right there. I think the definition is wrong, instead of:

    (define (sum term a next) ...

    It probably should have been:

    (define (sum term a next b) ...

    Like the recursive version.

  • Mantap, Good Video!!

  • It's great

    

  • good video, very informative

  • Nice video Thumb up

  • It's funny to see just how little has changed since 1986 to present time as far as general structure goes.

  • I absolutely love how that last dude, after being answered by The Sussman, enters in a deep, deep meditation as the camera zooms off. He is totally immersed in the universe, and the universe is becoming one with him; he had a glimpse of reaching Satori.

  • Thumb up if you see a bug in the listing at 19:00

  • Thank you MIT for posting such quality material. Even though this is 25 years old, going over this material is still incredibly illuminating.

  • Damn sound quality!

  • It's hilarious how easy it is to translate this into Prolog.

    Perhaps they are secret fans?

    Also, thanks for showing a secret (dirty) way of doing loops recursively. :D

  • Look up drscheme, and then google for sicp for drscheme and download/install that

  • Does anyone know a lisp-compiler that runs on a today linux, which can actually work like that ?

    I just find that it's not replicable anymore: Have maybe 6 lisp's here, and none of them really works ...

  • search MIT Scheme

    maybe you will get something. =)?

  • I had tried that out ... ; also didn't fully work (and I wondered about that, since this here is MIT too) . Now I'm at standard common lisp (SBCL); maybe I give another try to the MIT-scheme ... :

    Which one gives more freedom to the programmer ?

  • @chiefthegreat

    Did tcrayford's suggestion work?

    So far I've just used prolog, and I'd like to use LISP, as they aren't really the same at all. (They have similar syntax though)

  • Actually then I gave a second try to mit-scheme, and found that it actually works; I prefer this now and have done useful stuff with it already too ...

    But I found a hack on the net to use vi (and the screen-program) instead of the emacs-editor, to emulate some sort of slime-like environment; that made part of the difference ...;

    seems to be quite some good language ! (mit-scheme)

  • The code shown in these videos perfectly run on MIT Scheme. This is Scheme dialect of Lisp not Common Lisp.

  • Yes, your'e right; I verified that then too ... .

    Anyhow the built-in editor keeps you from beeing productive; that's why I use "vi" and "screen" to work around ...

  • @chiefthegreat

    Heathen!

    Emacs is superior! :p

    Anyway, thanks for clearing this up, I can now Scheme happily. If you like the Lisp syntax, and want to check out other interesting languages, I highly recommend Prolog.

    The SWI-Prolog is free software, and can be found on their webpage.

  • @chiefthegreat You can sudo apt-get install mit-scheme from a Ubuntu related distro and it works perfectly.  That interpreter should be available on many flavors or Linux.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more