Across a vast Clojure gulf
Having conquered the Clojure Koans I'm doing some of the 4clojure problems to help me improve my Clojure skills.One of the interesting things about 4clojure is that you can "follow" other users and,...
View ArticleJuxt a minute
Caveat lector: skip if you're not interested in the experiences of someone learning Clojure and functional-programming.At the moment I am reading the excellent Clojure Programming from O'Reilly. It was...
View ArticleRuby Functor
Dan Yoder has been messing with something that looks very interesting indeed::fib = Functor.new do given( 0 ) { 0 } given( 1 ) { 1 } given( lambda { |n| n > 1 } ) { |n| self.call( n - 1 ) +...
View ArticleLazy function definition in Javascript
Came across a neat technique in Javascript from Peter Michaux's blog:var foo = function() { var t = new Date(); foo = function() { return t; }; return foo(); }; the idea is that the first time you call...
View ArticleJust in from Amazon
Well it took two weeks but my Amazon order finally arrived. I'm really going to have to resist the urge to buy any more books for a while as I am beginning to drown in a sea of must-reads which now...
View ArticleThe future will be smaller and more elegant than we imagined
In my last post about my first experiences with Erlang I outlined a module I came up with to implement futures. Futures provide a useful means of calling a function without waiting for it to finish and...
View ArticleA first concurrency in Erlang
I've recently started learning the Erlang language using Joe Armstrong's new, in-beta, book. In the past I learned some Lisp but I ended up admiring Lisp more in the abstract than I liked it in...
View Article