Scheme

λ

Chapter 2 Building Abstractions with Data 2.1 Introduction to Data Abstraction 2.1.1 Example: Arithmetic Operations for Rational Numbers データを抽象化させるとかそんな感じ.例では,二つの整数 n, d の対(pairs)をデータ(structure)として扱…

Chapter 1 Building Abstractions with Procedures

追記:英語の文章はSICPからの引用です.何故 lisp なのか云々. 1.1 The Elements of Programming In programming, we deal with two kinds of elements: procedures and data. (Later we will discover that they are really not so distinct.) Informally…

SICP 読むための設定とか

春休みなのでプログラミングを勉強しようと思い,SICPを読んでいます(取り敢えず三章までやる予定).以下は SICP のサンプルコードに使われている Scheme の処理系(Gauche)をインストールをした際のメモです. Gauche のインストール homebrew の pull r…