addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupsimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1outlookpersonJoin Group on CardStartprice-ribbonImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruseryahoo

ReCoding Dojo on Section 1.1 and 1.2

  • Nov 28, 2013 · 7:00 PM
  • This location is shown only to members

NOTE: Postponed one week due to Hacker News.

We're resuming our SICP study in January starting from Ch2.  But for those who are just joining us now, or who need a refresher, we're running 4 sessions on Ch1 before the Christmas holidays.

Coding Dojo on Section 1.2

This week we're working through the first section of the first chapter: Section 1.1: The Elements of Programming and Section 2.2: Procedures and the processes they generate

Please read through it before coming. You may also wish to watch the Video Lecture for this section.

Please remember to bring a laptop with racket ( installed.


Join or login to comment.

  • james c.

    Good to be back.

    December 2, 2013

  • Maris O.

    #lang racket

    (require rackunit)

    (define (fast-expt a b n)
    (cond ((zero? n) a)
    ((even? n) (fast-expt (* a (sqr b)) (sqr b) (- (/ n 2) 1)))
    (else (fast-expt (* a b) b (- n 1)))))

    (define (exp b n)
    (fast-expt 1 b n))

    (check-eq? (exp 2 6) 6)
    (check-eq? (exp 3 5) 243)

    November 29, 2013

  • A former member
    A former member

    Very good meetup! Great mix of participants and coding problems. Matthew's a excellent host. Superb venue.

    1 · November 29, 2013

  • hanif

    Sorry won't be able to make this one

    November 28, 2013

  • Luigi B.

    I cannot make it this time :(
    see you at next session

    November 27, 2013

  • @sleepyfox

    Will be in Sweden, have fun!

    November 15, 2013

19 went

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy