2009-07-29から1日間の記事一覧

今日の夕飯

リングイネ・ジェノベーゼ プチトマト入り ナスと豚肉の煮浸し カレーとチーズのホットサンド

SICP問題2.75

メッセージパッシング(message passing) (教科書で定義) (define (make-from-real-imag x y) (define (dispatch op) (cond ((eq? op 'real-part) x) ((eq? op 'imag-part) y) ((eq? op 'magnitude) (sqrt (+ (square x) (square y)))) ((eq? op 'angle) (ata…