Skip to content

jiayouxujin/SICP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SICP

Ref

  1. 环境安装教程

Notes

Chapter01

Applicative-order vs normal-order

(define (try a b)
  (if (= a 0) 1 b))
  • (try 0 (/ 1 0))会报错,【mit-scheme默认是applicative-order,all arguments will be evaluated when procedure is applied】
  • 如果是normal-order就不会报错,它会使用lazy evaluation,当参数需要的时候才会计算

About

SICP-Solutions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages