read or learn more
λ λ λ
Fogus' Thoughts on life, programming, and thinking
❤ c clj erl pl frink fth cl org pure icl qi ❤
Follow me on Twitter... or RSS...
Run this blog in mobile
2024 2023 2022 2021 2020 2019 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2004 2003 2002
Here’s the thing. Hacker News has not changed. I have.1 As a long-time member of Hacker News it appears that the relative quality and lack-thereof for the link submissions, questions, and commentary has remained stable. There are still very few links of interest to me, but those that are good tend toward great. However, I […]
unk is a memoization library for Clojure that provides an extension to the base capabilities. Using unk unk is easy to use. Leiningen [unk “0.9.0”] Maven <dependency> <groupId>unk</groupId> <artifactId>unk</artifactId> <version>0.9.0</version> </dependency> Source Unk is on the Githubs. Straight-up replacement unk can be used in place of clojure.core.memoize. (def slowly (fn [x] (Thread/sleep 3000) x)) (time […]
Rich Hickey is the author of Clojure (take… is an on-going series of micro-interviews focused on Clojure. What was the first interesting program that you wrote? An early program I wrote that got me excited about the possibilities of computing was a simple evolution program. Bugs moved around on the screen looking for food, with […]
Following the meme (scala, ruby, clojure, python, f#, coffeescript, c#) I would truly appreciate feedback from people whom actually know Haskell. As you may notice below, my grasp is not yet strong. Multiple Each Item in a List by 2 map (*2) [1..10] Sum a List of Numbers foldl (+) 0 [1..1000] — or better […]
[sourcecode lang=”javascript” gist=”1002886″]var M = function() { this.m = function() { return 42 } }; var inst = new M(); inst.f = function() { return 42 }; // How to tell that f is a function in a field and // m is a method in an arbitrary object? // // example: is_method(inst.f); //=> false […]