Life & fun · December 16, 2011
multimethod.js - a Clojure-inspired multimethod library for JavaScript
## What is a multimethod?
multimethod.js - a Clojure-inspired multimethod library for JavaScript launched on December 16, 2011 with 49 votes, #20 of 254 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 14 years on.
In plain words
multimethod.js is a JavaScript library that implements Clojure-style multimethods, a functional programming approach to polymorphism. It allows developers to dynamically dispatch function calls based on custom logic rather than relying on traditional prototype-based inheritance. The library provides an alternative control structure for building flexible, polymorphic functions. It is available on npm and GitHub under an MIT license.
written from the facts on this page · September 2026
From the sources
The quickest way to understand is by looking at a simple, familiar example implemented with a multimethod. So let's write a recursive Fibonacci function. Multimethods are a functional programming "control structure" enabling you to dynamically build-up and manipulate the dispatching behavior of a polymorphic function. Inspired by Clojure's multimethods , multimethod.js provides a functional alternative to classical, prototype based polymorphism. The multimethod.js library is MIT licensed, is found on GitHub and npm with npm install multimethod, and its annotated source code is available here. Let's use the node.js REPL to build a few multimethods and see what they are capable of doing. In…from krisjordan.com
Does a similar job
all alternatives →
js.spec, a JavaScript implementation of clojure.spec2016 · github.com · ▲96clojure.spec for Javascript. Contribute to prayerslayer/js.spec development by creating an account on GitHub.
CalDOM: An agnostic, reactive and minimalist JavaScript UI library2021 · caldom.org · ▲107An agnostic, reactive & minimalist (3kb) JavaScript UI library with direct access to native DOM.
- CPClojure parser and core library in JavaScript, live on CodeCombat2014 · vickychijwani.github.io · ▲57
- AJA Javascript library to overcomplicate Five2014 · jackdcrawford.github.io · ▲69
- MIMy Interactive ClojureScript book2017 · langintro.com · ▲134
An interactive book introducing programming with ClojureScript
Crudlet.js – A common, streamable interface for synchronizing data2015 · github.com · ▲94utility library for async iterable iterators. Contribute to crcn/mesh.js development by creating an account on GitHub.
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 2d ago · permit.petercai.com
- IV
Life & fun · 14d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 15d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 9d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 13d ago · carrierexplode.com

Life & fun · 23d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, December 2011
the whole month →
The latest macOS offers the world’s best way to play — and add to — your collection of music, movies, TV shows, podcasts, audiobooks, and more.
Life & fun · 2011 · itunes.apple.com
- MZ
Life & fun · 2011 · anonysize.me
- BA
Life & fun · 2011 · hacksandthoughts.posterous.com
- WJ
Find information, resources and relevant links for subpug.com. This domain may be for sale.
Life & fun · 2011 · subpug.com

Life & fun · 2011 · github.com
- THThe Honeybadger▲147
Life & fun · 2011 · gethoneybadger.com