Skip to content

Instantly share code, notes, and snippets.

View calebphillips's full-sized avatar

Caleb Phillips calebphillips

View GitHub Profile
(ns async_match
(:require [cljs.core.async :refer [chan sliding-buffer]]
[clojure.string :as string])
(:require-macros
[cljs.core.async.macros :as m :refer [go alts!]]
[clojure.core.match.js :refer [match]]))
(def mc (chan (sliding-buffer 1)))
(def loc-div (.getElementById js/document "location"))