First go ahead and play the current game below. You play by connecting dots of the same color. When you make a cycle of dots, all the dots of that color are erased from the board. Play the game in a window by itself. Here is the full source of the game. This game was developed in Chrome on OSX and on an IPhone 4Gs. If your browser doesn’t support hardware acceleration for CSS 3d transforms, the ga
Under the covers core.async creates a state machine to turn synchronous / blocking looking code into asynchronous / non-blocking code. Coming from a C# background I knew this state machine method was used with the async / await syntax added in .NET 4.5. What I didn’t know was what this actually meant. Since this was language level syntax it was opaque to me in how it was implemented. Enter core.as
Monad Protocols monads 23 I’ve used Konrad Hinson’s clojure.algo.monads library for several years now and I’ve found it very useful for working with monads. Konrad did an excellent job implementing the monad paradigm in Clojure. However, there have a been a couple of things that were less than ideal; performance, lack of laziness with m-plus and the need to specify the monad you’re using for domon
Hi, I'm Clinton! I am just a programmer who likes Clojure and uses it for web development. I work for the federal government. Anyway, what do you all do? Who here knows Clojure already? Who uses it at work? What about for web development? (If there's not too many people, go around the room and have quick introductions.)
instaparseとは 今、Clojure使いの間では大きな話題となっている、パーサ(構文解析プログラム)作成用ライブラリです。 正規表現を使うのと同じくらい簡単にパーサが作成できるとのことです。 Clojure作者である、Rich Hickeyも大興奮(ソース:twitter)らしいです。 では簡単にinstaparseの特徴を解説します。 githubに機能一覧があるのですが、そこから代表的ないくつかの特徴を抜粋。 入力として文字列を受け取り、EBNF記法を用いて構文解析ツリーを生成する 出力フォーマットは、Clojureで人気の形式(hiccupとenlive)の両方をサポート 解析エラーの詳細なレポートを出してくれる 文字列をEBNF記法でうけとってパーサが簡単に書けるというみたいです。 Githubのチュートリアルを参考に、instaparseを動かしてみましょう。 環境構築方
Last week, Rich Hickey announced Clojure core.async in a blog post. As mentioned in the post, the new core.async library has a lot in common with Go. In this post, I’ll compare the fundamental building blocks of concurrency in core.async and Go with code examples. Note: Clojure core.async provides two sets of operations on channels. The blocking operations are for use with native threads and the n
If a tree falls in the woods, does it make a sound? If a pure function mutates some local data in order to produce an immutable return value, is that ok? It’s an interesting question. Clojure data structures use mutation every time you call, e.g. assoc, creating one or more arrays and mutating them, before returning them for immutable use thereafter. The reason is performance - you simply can’t ge
10 June 2013 I apologize for not wrapping up my series of posts on nominal logic programming, I’ll return to that bit of fun soon enough. But lets take leave of theoretical computer science and turn to something more “pragmatic”. In this post I want to talk about my port of Notch’s beautiful Minecraft JavaScript demo to ClojureScript. When I say beautiful I’m not referring to the code - frankly it
EDIT: HN thread: https://news.ycombinator.com/item?id=5943982 Clojure as a language and community is very sensitive to the definition and design of tradeoffs. This post is an attempt to elucidate the tradeoffs chosen by the language, what they mean to interested parties, and an attempt to predict the future based on these choices. Motivation Rich Hickey’s said a few things about design and the rol
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く