- High level overview https://yogthos.github.io/ClojureDistilled.html
- An Animated Introduction to Clojure https://markm208.github.io/cljbook/
- Interactive tutorial in a browser https://tryclojure.org/
- Interactive exercises http://clojurescriptkoans.com/
- Clerk notebooks with introductory examples https://github.clerk.garden/anthonygalea/notes-on-clojure
- More interactive exercises https://4clojure.oxal.org/
- Lambda Island tutorials https://lambdaisland.com/
- Functional Programming with Clojure resources https://practicalli.github.io/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns appliedsciencestudio.covid19-clj-viz.repl | |
(:require [clojure.string :as string] | |
[hickory.core :as hick] | |
[hickory.select :as s])) | |
;;;; Scraping data | |
(def worldometers-page | |
"We want this data, but it's only published as HTML." | |
(-> (slurp "https://www.worldometers.info/coronavirus/") | |
hick/parse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns com.github.hindol.euler | |
(:require | |
[clojure.test :refer [is]] | |
[clojure.tools.trace :refer [trace-ns untrace-ns]]) | |
(:gen-class)) | |
(set! *unchecked-math* true) | |
(set! *warn-on-reflection* true) | |
(defn pentagonal-seq |
Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* js-truth_table | |
* | |
* file: truth_table.js | |
* | |
* Copyright (c) 2011, Erik Nordstroem <[email protected]> | |
* | |
* Permission to use, copy, modify, and/or distribute this software for any | |
* purpose with or without fee is hereby granted, provided that the above | |
* copyright notice and this permission notice appear in all copies. | |
* |