layout | title | permalink |
---|---|---|
default |
Info |
/info/ |
This is a compendium of solved problems centered on the principles computer programming. All programming exercises were taken from Structure and Interpretation of Computer Programs (MIT Press), "widely considered a classic text in computer science"---Wikipedia. The book, as it states, uses the Scheme dialect of the Lisp language "as the framework for [...] discussion of programming" because "the language possesses unique features that make it an excellent medium for studying important programming constructs and data structures and for relating them to the linguistic features that support them".
The text of problems, copied from the book, appear in "blockquotes" such as this one. One kind of exception is the
$$\LaTeX$$ equation
environment, another is the code block (see below).
Solutions are typeset as normal text.
{% highlight scheme %} ;; The code appears in blocks like this one, both for problems and solutions. ;; Sometimes a -> prompt is written to distinguish between an ;; given to the interpreter and the resulting from the evaluation of ;; : -> {% endhighlight %}
Inline code
is used to refer to computational objects outside code blocks.