タグ

餅に関するfaerieのブックマーク (4)

  • MochiKit.Iterのサンプルコードを読む - 実用

    MochiKit.Iterのサンプルコードを読む MochiKit.Iterのドキュメントのサンプルコードを、バラバラにして見ていきます。 以下は2の倍数ずつを、10未満の間繰り返し、合算するコードです。 theSum = sum(takewhile( partial(operator.gt, 10), imap( partial(operator.mul, 2), count() ) )); ok( theSum == (0 + 2 + 4 + 6 + 8) ); operator operatorは単純演算関数群を保持するオブジェクトです。 gt(a, b)は、a > bを行い真偽値を返します。 mul(a, b)は、a * bを行ない結果値を返します。 ok(operator.gt(1, 10) == false); ok(operator.gt(10, 1) == true);

  • http://mochikit.com/screencasts/MochiKit_Intro-1.html

    faerie
    faerie 2006/01/18
    動画。こんなのあったのか。
  • prototype.js v1.5.0 の使い方

    それは何? prototype.js は Sam Stephenson によって書かれた JavaScript ライブラリです。 この熟考の上記述された標準に準拠したコードは、Web 2.0 において特徴となるリッチでインタラクティブなウェブページを制作する際の重荷を、あなたの肩から取り去ってくれるでしょう。 もしこのライブラリを使ったことがあるなら、充実したドキュメントがこのライブラリの売りではないことに気がついたはずです。 私は他の開発者と同様に、ソースコードを読み、試行錯誤しながら prototype.js を理解しました。 自分が学んでいる間にメモを取り、それを他の人たちと共有することは価値があるのでは、と考えたのです。 加えて、このライブラリによって提供されているオブジェクト、クラス、関数、拡張機能についての 非公式リファレンス も提供しています。 ここで提供する例とリファレンス

    faerie
    faerie 2005/11/22
    MochiKitより使いやすそうなかんじ。
  • MochiKit

    Bubblegum Dungeon – the long-awaited series of BDSM in fantasy world full of colors and rainbows. We finally leave the deep dark dungeons and bring the genre to the mainstream. Dealing with demanding clients isn’t always easy but these female realtors found their way to please and the most importantly to SEAL THE DEAL. Girls Only Porn – it’s time to discover the women’s perspective on fun times. W

    MochiKit
    faerie
    faerie 2005/10/24
    餅作成キット。TurboGearsで使われている。
  • 1