Skip to content

Instantly share code, notes, and snippets.

View smnplk's full-sized avatar
🌳
Just another forest critter trying to git tree and git log for winter

Simon Polak smnplk

🌳
Just another forest critter trying to git tree and git log for winter
View GitHub Profile
@joinr
joinr / forfold.clj
Created August 25, 2018 02:32
for/fold from racket interpreted to clojure
(ns forfold)
;;From racket example
;;https://docs.racket-lang.org/reference/for.html#%28form._%28%28lib._racket%2Fprivate%2Fbase..rkt%29._for%2Ffold%29%29
;; (for/fold ([acc '()]
;; [seen (hash)]
;; #:result (reverse acc))
;; ([x (in-list '(0 1 1 2 3 4 4 4))])
;; (cond
;; [(hash-ref seen x #f)
@jasongilman
jasongilman / atom_clojure_setup.md
Last active January 11, 2024 09:13
This describes how I setup Atom for Clojure Development.

Atom Clojure Setup

This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.

Install Atom

Download Atom

The Atom documentation is excellent. It's highly worth reading the flight manual.

@staltz
staltz / introrx.md
Last active March 16, 2024 15:13
The introduction to Reactive Programming you've been missing