Category: Clojure
-
Leiningen, ClojureScript e REPL no navegador
REPL do Clojure no navegador http://nakkaya.com/2011/12/04/leiningen-clojurescript-and-browser-repl/
-
Clojure script to parse IIS logs from a directory and show slowest pages
Just having some fun today. The code runs actually pretty fast: It reads over 1.5 million lines from 1.1GB of logs and sorts them by time-taken in 5 seconds. I bet there’s room for improvement but it was enough for my needs. (ns iis_log (:require clojure.contrib.duck-streams clojure.contrib.io clojure.string clojure.test)) (def #^{:doc “Where the log files…
-
Pong in Clojure
Me and Cesar Canassa decided to create a game. I suggested a roguelike, which we will build eventually, but as both newbies in game development, we are going to start small. With Pong. In the last couple months I have been teaching myself some Clojure, and said to Canassa I would like to try writing…