Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

February 01 2010

21:56

January 24 2010

13:56

OCaml Batteries Included

OCaml Batteries included (or simply "Batteries") is a community-driven effort to standardize on an consistent, documented, and comprehensive development platform for the OCaml programming language. Batteries is meant to serve the following purposes: define a standard set of libraries which may be expected on every compliant installation of OCaml; organize these libraries into a hierarchy of modules; define a standard set of language extensions (based on CamlP4) which may be expected on every compliant installation of OCaml;

October 28 2009

16:04

Underscore.js

Underscore is a utility-belt library for Javascript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in Javascript objects. It's the tie to go along with jQuery's tux. Underscore provides 42-odd functions that support both the usual functional suspects: map, select, invoke — as well as more specialized helpers: function binding, javascript templating, deep equality testing, and so on. It delegates to built-in functions, if present, so Javascript 1.6 compliant browsers will use the native implementations of forEach, map, filter, every, some and indexOf.
Reposted byslim slim

August 04 2009

14:42

Clojure - transients

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?
14:28
14:26

July 02 2009

09:06

Potion, a Short Pamphlet

Potion’s mantra is: Everything is an object. But objects aren’t everything. Etched beneath that in faint pencil: Oh, and everything is a function.

May 26 2009

18:51

January 16 2009

12:40
09:45

January 12 2009

20:03

Try() as you might

Tired of writing things like (user.name if user) and all it's variants? Almost a year back now, I saw the try() method suggested. The intention of the method is to guard you against calling methods on a nil object. If you try to call a method on a nil object it should return nil, otherwise it should call the method.

November 05 2008

11:05
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.