Haskell勉強会

関数型プログラミングの学習日記

Realm of Racket

Racketの本を買いました。

 

Realm of Racket: Learn to Program, One Game at a Time!

Realm of Racket: Learn to Program, One Game at a Time!

  • 作者: Matthias Felleisen,Conrad Barski,David Van Horn,Eight Students of Northeastern University
  • 出版社/メーカー: No Starch Press
  • 発売日: 2013/06/13
  • メディア: ペーパーバック
  • この商品を含むブログを見る
 

 

RacketはLispの方言で、Schemeの仲間です。

Racket - Wikipedia

Racket (旧称 PLT Scheme) は、Schemeから派生したプログラミング言語である。

Racket プロジェクトは以下の4つから構成されている。

  • スクリプト処理系、Racket (リッチなランタイムシステム, 豊富なライブラリ, JITコンパイラ などが含まれる)
  • Racketプログラムの開発環境、DrRacket (旧称 DrScheme)
  • コンピューティングとプログラミングを"教養教育カリキュラムの必須分野にする"試み ProgramByDesignアウトリーチ・プログラム。
  • Racketのユーザ作成パッケージの配布システム PLaneT。

 

関数型プログラミング言語を勉強するとき、面白い教材はないかなーと探してみたら、この本が面白そうだったので注文してみました。

 

 

目次

nostarch.com

 

Acknowledgments

Preface: Hallo World

Introduction: Open Paren

 

Chapter 1: Getting Started

Chapter 2: A First Racket Program

Chapter 3: Basics of Racket

Chapter 4: Conditions and Decisions

Chapter 4 and a Half: define define ‘define

Chapter 5: Big-Bang

Chapter 6: Recursion is Easy

Chapter 7: Land of Lambda

Chapter 8: Mutant Structs

Chapter 9: The Values of Loops

Chapter 10: Dice of Doom

Chapter 11: Power to the Lazy

Chapter 12: Artificial Intelligence

Chapter 13: The World is Not Enough

Chapter 14: Hungry Henry

 

Good Bye: Close Paren

 

著者紹介

Matthias Felleisen,

David Van Horn,

Conrad Barski, M.D.,

and Eight Students of Northeastern University 

 

Matthias Felleisen - Wikipedia

Matthias Felleisen is a German-American computer science professor and author.

Felleisen's interests include programming languages, including software tools, program design, the Design Recipe, software contracts, and many more.

In the 1990s, Felleisen launched PLT and TeachScheme! (now ProgramByDesign) with the goal of teaching program-design principles to beginners and to explore the use of Scheme to produce large systems.

 

著者のマティアス・フェライゼン氏は、デザインレシピの提唱者ですね。

 

haskell.hatenablog.com

 

出版社情報

 

nostarch.com

 

サポートサイト

http://www.realmofracket.com/

 

正誤表

http://realmofracket.com/errata.html

 

書評

まだ読み始めたばかりなので、特に感想はありませんが、イラストが豊富で分かりやすいです。

 

「Realm of Racket」の裏表紙です。

f:id:hamamuratakuo:20181127180542j:plain

 

こんなかんじのイラストがたくさんあります!

 

他の方のレビュー記事がありました。

#:g1: Lisp本積読解消: Realm of Racket — ).3 Racket Is a Metaprogramming Language

今回は、Realm of Racketのマクロの箇所を読む。

Realm of RacketはLand of LispのRacket版のような感じで、Conrad Barski氏も著者の一人。

とはいえLand of Lisp程個性が強くないので物足りない人もいるかもしれない。

 

あー、なるほど。Land of Lispの著者(マンガ家)の人も共著なので、イラストが豊富だったんですね!

LispScheme、Racket)の学び方にもいろいろありますが、本書を参考にして、関数型プログラミングに慣れ親しんでみたいと思います。