Skip to content

Instantly share code, notes, and snippets.

halgari / gist:c17f378718cbd2fd82324002133ef678
Created November 23, 2018 20:54
Contributing to Clojure

So you’d like to contribute to Clojure, great! Let’s talk about what that involves.

The first thing you’ll want to make sure is that your idea is valid, and that you won’t spend a ton of time working on something that won’t make into master. To do this, you should create a JIRA ticket. For example, let’s say we want to improve how core.async handles channel closing propagation. It’s not a super complex problem, but there are some design questions about which of the various semantics currently in place should be the default, and if some semantics should be configurable.

So start by making a JIRA ticket and stating what the problem is you’re trying to solve, what the possible options for solving the problem. Now hit save and wait for the ticket to be triaged. Alex Miller will take a look when he can, and that can take a few days to a few weeks, depending on the time of the year (he has other responsibilities). Alex may out-right reject the idea if he knows Rich would never approve the ticket, but otherwise h

(ns my.solve)
(defn prepare-data-structure [arr]
(->> (map-indexed vector arr)
(fn [[i a]]
(map (fn [[j v]] {:val v :idx [i j]})
(map-indexed vector a))))))
(defn expand-adjacents [[i j]]
visibletrap / .vimrc.after
Created November 24, 2012 04:45
VIMRC for janus customization
set tags=~/.tags
set nonumber
set relativenumber
imap jk <esc>
imap kj <esc>
vmap <leader>F y :Ack <c-r>0<cr>
vmap > >gv
vmap < <gv
mrichie / gist:4043266
Created November 9, 2012 02:05 — forked from jfirebaugh/gist:4007524
Installing Ruby 2.0.0-preview1 with RVM on OS X
# First, make sure that you have the most recent rvm. Several bugs with 2.0.0-preview1
# have recently been fixed.
# Second, the openssl that comes with MacOS is too old for Ruby 2.0. You need to install
# a newer one with homebrew or the rvm pkg command.
# Option 1, with homebrew openssl:
brew update
brew install openssl