0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

関数プログラミングを速習するための作業メモ

Last updated at Posted at 2015-08-27

『関数プログラミング実践入門』を利用する。
第0章とか1章など不要、2章から忘れそうなところ、特に文法だけ羅列する。

###注意ポイント

  • 変数はletで束縛しないと利用できない
let one = 1
  • 無名関数(ラムダ式)の宣言の例
\x -> x * 2

-第二引数なんてない(厳密には)

なぜなら、「関数が第一級の対象」だから。

ラムダ式

->
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?