Hatena::Groupsicp

EhrenのSICP学習場

2010-10-03

4章の問題解いてみてる

13:34

schemescheme動くようになったのでようやく問題が解けるので解いてみました。

これ以外を解くかはちょっと考えてる。先も読みたいしー。

ex4.1

;; 左
(define (list-of-values exps env)
  (if (no-operands? exps)
      '()
      (let ((priority (myeval (first-operands exps) env)))
            (cons priority
                  (list-of-values (rest-operands exps) env)))))

;; 右
(define (list-of-values exps env)
  (if (no-operands? exps)
      '()
      (let ((priority (list-of-values (rest-operands exps) env)))
            (cons (myeval (first-operands exps) env)
                  priority))))

JacklynnJacklynn2012/01/09 22:25That's 2 cvleer by half and 2x2 clever 4 me. Thanks!

pnlmvtpnlmvt2012/01/10 17:08QStrNV <a href="http://ktmyunxwpiwq.com/">ktmyunxwpiwq</a>

peuyjlpeuyjl2012/01/10 23:26MFthbl , [url=http://fxcnrvqvqvdn.com/]fxcnrvqvqvdn[/url], [link=http://pqljejrkvdfj.com/]pqljejrkvdfj[/link], http://osfeqianekge.com/

umgqlbumgqlb2012/01/12 23:17lSKHjJ <a href="http://lehbwtnucuat.com/">lehbwtnucuat</a>

sayqvfsayqvf2012/01/15 01:28zMEuOh , [url=http://hjzhhycxnwds.com/]hjzhhycxnwds[/url], [link=http://gvqafibkyjqj.com/]gvqafibkyjqj[/link], http://exhgwnbztgmx.com/

WilliamPerWilliamPer2019/02/02 12:48cialis billiger
cialis online apotheek
<a href=https://greatwinesgrandhouses.com>Cheap cialis buy</a>
vente cialis generique
cost of cialis in dubai
https://kellyannehulme.com
cialis online portugal
discount cialis 48430
<a href=https://greatwinesgrandhouses.com>buy Cialis 20 mg</a>
exelon office service specialist
target pharmacy price cialis
https://greatwinesgrandhouses.com

WilliamPerWilliamPer2019/02/02 12:48rx cialis tadalafil 40gm
webmd cialis
<a href=https://greatwinesgrandhouses.com>cialis buy online</a>
cialis online 24 ore
when will cialis go off patent
https://greatwinesgrandhouses.com
discount cialis without a prescription
sams club pharmacy cialis price
<a href=https://greatwinesgrandhouses.com>Cheap cialis</a>
buy cialis 100mg online
is there a cheaper alternative to cialis
https://kellyannehulme.com

ArnoldcogArnoldcog2019/02/05 23:06order cialis super active
cialis ervaringen
<a href="http://cialistlm.com">Cheap Cialis</a>
cialis assistance
buy generic cialis online usa
<a href="http://cialistlm.com">Buy Cheap Cialis Online</a>
cialis profession for sale online
cialis 20mg review
<a href="http://cialisfurr.com">Buy Cheap Cialis Online</a>