2009-04-24から1日間の記事一覧

今日の夕飯

サンドウィッチ(具はトマト,キュウリ,卵,ハム) トマトと玉葱のサラダ 水菜,椎茸,豆腐,豚肉の鍋 花山葵の醤油漬け

SICP問題2.2

線分の構成子と選択子 (define (make-segment start-point end-point) (cons start-point end-point)) (define (start-segment segment) (car segment)) (define (end-segment segment) (cdr segment)) 点の構成子と選択子 (define (make-point x y) (cons x…

SICP問題2.1

まずは英語の復習。 cons … Construct car … Contents of Address part of Register cdr … Contents of Decrement part of Register 有理数 … rational number 無理数 … irrational number 加える … add 減ずる … subtract 乗ずる … multiply 除する … divid…