Skip to content

jphafner/sicp-exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Structure and Interpretation of Computer Programs (SICP)

Links

Misc Links

-[ ] Philip Wadler "The Essence of Functional Programming" 1992 -[ ] John Hughes "Why Functional Programming Matters" 1984 -[ ] John Backus "Can We Be Liberated From the von Neumann Machine?" 1977 -[ ] https://dl.dropboxusercontent.com/u/7810909/docs/what-does-fp-mean/what-does-fp-mean.html

Notes

  • Pretty printing: align operands vertically

Guile Reference

$ guile -l ex1-20.scm

scheme@(guile-user)> (load "ex1-20.scm") scheme@(guile-user)> (gcd 40 206) $1 = 2 scheme@(guile-user)> (exit)

MIT-Scheme Reference

1 ]=> (sf "ex1-20.scm") 1 ]=> (gcd 40 206) ;Value: 2

1 ]=> (pp (fasload "ex1-20.scm")) ;Loading "ex1-20.bin"... done (define (gcd a b) (if (= b 0) a (gcd b (remainder a b)))) ;Unspecified return value

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published