Guido van Rossum Python Software Foundation Email: docs@python.org Fred L. Drake, Jr., editor リリース 2.4 平成18年6月27日 日本語訳: Python ドキュメント翻訳プロジェクト
Io is a programming language with a focus on being very small and simple. The ideas in Io are mostly inspired by Smalltalk (all values are objects), Act1 (differential protos, inheritance through delegation, actors) and its decendants such as Self and NewtonScript. As well as Lua (use of tags in the implementation).
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
元々は Excel でセルの座標指定の為に列名を作ろうと思ったけど、途中で「あ、要らんわ」(数値で指定できた)と気づき、放っておいたのを作ってくれた方がいましたよ。勉強になります。 再帰を使って:「指定した回数分String#succ - I sort my thought...」 Ruby の再帰ってスタックオーバーフロー起こさないようにする方法は無いのかな? continuation ワカラナス。scheme やってるからそのうちぶつかるだろう。 汎用的に:「任意のメソッドを指定した回数分繰り返すメソッド - I sort my thought...」 count = count.to_i ってのは防御的プログラミングというやつか? 引数の並びは逆の方がいいよなぁ("a".repeat(3, :succ) じゃなくて "a".repeat(:succ, 3))と思ったけど、繰り返すメソ
長い道のりだった……、id:babie:20050921:p7 の続き。って9月かよ! PHP の Smarty や Perl の TT のように 「|」 でフィルタチェインができたらええなー、と考えてたやつ。 カリー化を使ったお! 使えるお! もっと簡単な実現方法があっても気にしない。カリー化使えて満足。 #!/usr/bin/ruby # this method was written by HORIKAWA Hisashi. # See: http://www.nslabs.jp/ramble-200601.rhtml#28 def currying(name, *args) if name.kind_of?(Proc) or name.kind_of?(Method) m = name else m = method(name) end arity = m.arity >= 0 ?
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く