追記 (9 Aug 2015) : haste 5.0 がリリースされました(新しいバージョンのDoc, メーリングリストへの投稿).Major release ということでいくつか破壊的な変更が含まれており(とはいっても,ざっと眺めた感じ移行は比較的しやすそうです),Haste 0.4.4 で書かれたこのコードはそのままでは 0.5ではコンパイルが通りません.#コードをちょっと眺める の節を読むときには outdated なコードであることにご留意ください. 追記2 (19 Aug 2015) : 少し遅くなりましたが Haste 0.5.0 に合わせてアップデートしました.計測していませんがパフォーマンスが(Haste のバージョンアップによって)良くなっている可能性があります. コードの差分はこちらです.今回書いたコードでは Event まわりの取り扱いが微妙に変わったのみです.以下