Skip to content

Instantly share code, notes, and snippets.

Simon Polak smnplk

Block or report user

Report or block smnplk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@joinr
joinr / forfold.clj
Created Aug 25, 2018
for/fold from racket interpreted to clojure
View forfold.clj
(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 Jun 5, 2019
This describes how I setup Atom for Clojure Development.
View atom_clojure_setup.md

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 Jun 19, 2019
The introduction to Reactive Programming you've been missing
View introrx.md
You can’t perform that action at this time.