Common Lisp基礎文法最速マスター逆引きCL:Common Lisp基礎文法最速マスターへ移動しました Last modified : 2018/06/24 16:06:56 JSTPowerd by WiLiKi 0.6.1 on Gauche 0.9.10
Emacs を使っていると、選択範囲に対してなにか処理したいということはよくある。それなのに、Lisp がわからないからということで、あきらめてしまってはいないだろうか。Emacs でいろいろなことをやるにはLisp は必須だけど、「選択範囲に対して何か処理を施す」というだけであれば、Lisp はほとんど知らなくても実現できてしまう。 要は、選択範囲を引数として自作のスクリプトに渡して、それの戻り値を受取ることができればいいわけだ。選択範囲をスクリプトに渡すという部分はLisp で書かなければいけないんだけど、そこはここで示すテンプレートをコピーして使うだけで問題ない。 それでは、例として、選択範囲の小文字を全て大文字に変換するというものを作ってみよう。 (これ自体はEmacs の標準のコマンドでできるけど、ここは例としてこれを作る) まず、雛形となるLisp のテンプレート my-fun
great site, http://www.families.com/ilana1a2ff/info/ Adult Finder Friend Sex, 559747, http://www.viddler.com/explore/shauna15e5 Centerfold Clip Free Nude Video, 77659, http://www.viddler.com/explore/perle4389c Amateur Babe Sex Video, 8((, http://www.viddler.com/explore/reginaldcd722 Anal Sex Video Mp4 Format, 606, http://www.mlive.com/forums/profile.ssf?nickname=sergei2e58d Erotica Sex Video, :),
Higher-Order Perl、chap3から。 メモ化の話 少し前に流行った、fib関数をメモ化して速度を上げる話。 普通にいろんな実装方法を説明した後、どうやって一般化するかでMemoize.pmの紹介がある。 Perlだと メモ化を個人で実装する必要はなくて、 use Memoize; memoize 'fib'; で関数fibをメモ化できる。この本では、紹介だけでなくMemoize.pmの動きをちゃんと説明している。Memoize.pmはPerlの内部テーブルを書き換える話をした後に、closureが来る。 どうみても、Lispです。 Padというのは、ローカル変数のbindingを行うデータ構造で、StubはPerlのjargonではCV(code,value)と呼ばれる。carが手続き(code)をさして、cdrがpad(ローカル変数のbinding)を指すと説明が入る。P
by Mark Jason Dominus Order Higher-Order Perl online from Powell's Books Download full text Current Status: The book was published on 8 March 2005. Copies are now available in bookstores in the U.S. and Europe, and from online booksellers. A second printing became available in August 2005. A Chinese-language edition of HOP, translated by Mr. Teng Jiahai, was published in June 2013 by China Machine
CL-PPCRE - Portable Perl-compatible regular expressions for Common Lisp Abstract CL-PPCRE is a portable regular expression library for Common Lisp which has the following features: It is compatible with Perl. It is pretty fast. It is portable between ANSI-compliant Common Lisp implementations. It is thread-safe. In addition to specifying regular expressions as strings like in Perl you can also use
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く