Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

SICP Progress

Name: Anonymous 2010-08-31 5:37

How far has everyone gotten with SICP? I'm on the last boss, but I've run out of medikits.

In all seriousness, though. How many of you actually do the exercises? How far have you gotten?

Name: Anonymous 2010-09-02 12:56

Where is that fibs done in terms of loeb?

Name: Anonymous 2010-09-02 13:36

>>41
http://dis.4chan.org/read/prog/1229802387/119

loeb f = fmap ($ loeb f) f
fibs = loeb $ map const [0,1]++[\x -> x!!a + tail x!!a | a <- [0..]]

Name: Anonymous 2010-09-02 15:22

An endless succession of fibs.

(define fibs (stream-cons 1 (stream-cons 1 (stream-map + fibs (stream-cdr fibs)))))

Name: Anonymous 2010-09-02 20:50

>>43
I hope that's an even stream you're using bub (not that it matters for fibs).

Name: Anonymous 2010-09-02 21:27

>>44
(require srfi/41)
fuck yeah

Name: Anonymous 2010-09-04 12:22

"computer scientist" who read SICP and love lisp is gomocecuaist

Name: Anonymous 2010-09-04 12:36

>>41-42
here's a better one:
fibs = loeb $ 0 : 1 : map (flip (!!) + (flip (!!) . succ)) [0..]

Name: Anonymous 2010-09-04 12:43

gomocecuaist
This thread is the only one on google for that search term

Name: Anonymous 2010-09-04 12:57

>>48
No, it's a different thread. With a whole 4 different posters!

Name: Anonymous 2010-09-05 0:48

>>48
Hopefully it will help such people brush up on their fibs skills.

Name: Anonymous 2010-09-05 5:50

>>49
Who's the fourth poster?

Name: Anonymous 2010-09-05 8:11

I have implemented an enterprise quality #fibs.

Name: Anonymous 2011-02-04 14:35

Name: Anonymous 2011-02-18 13:20

check 'em

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List