SPC SPC = M-x
- load-theme
- add-project
- global-linum-mode
session_name: melvn | |
start_directory: ~/clo/runeleven | |
environment: | |
RUNELEVEN_DIR: /Users/laurence/clo/runeleven | |
windows: | |
- window_name: one-repl | |
panes: |
(ns my-backend.core | |
(:gen-class) | |
(:require [compojure.core :as c] | |
[compojure.route :as route] | |
[ring.adapter.jetty :as jetty] | |
[ring.middleware.defaults :as ring-defaults] | |
[hiccup2.core :as h] | |
#_[muuntaja.core :as m] | |
[muuntaja.middleware :as muuntaja])) |
web-scraper-order | web-scraper-start-url | code | |
---|---|---|---|
1625935994-72 | https://www.4clojure.com/problem/71 | 1 last | |
1625936020-84 | https://www.4clojure.com/problem/59 | 123 (fn gg [& f] (fn [& coll] (vec (map #(apply % coll) f)))) | |
1625936081-105 | https://www.4clojure.com/problem/32 | 12345 (fn t [[x & args]] (if (empty? args) (list x x) (cons x (cons x (t args))))) | |
1625935881-29 | https://www.4clojure.com/problem/121 | 1 | |
1625935861-20 | https://www.4clojure.com/problem/130 | 1 | |
1625935897-36 | https://www.4clojure.com/problem/114 | 1 | |
1625935899-37 | https://www.4clojure.com/problem/113 | 1 | |
1625935906-40 | https://www.4clojure.com/problem/110 | 1 | |
1625935991-71 | https://www.4clojure.com/problem/72 | 1 reduce + |
(ns datomic-helpers | |
(:require [datomic.api :as d])) | |
;;; Expose Datomic vars here, for convenience | |
;;; Ring middleware | |
(defn wrap-datomic | |
"A Ring middleware that provides a request-consistent database connection and | |
value for the life of a request." |
cljfmt
for clj/cljs (Formatting)clj-kondo
(Lint)clojure-lsp
(Navigation)ack.vim
(Navigation)Transparency -> understanding -> prediction
Constraints narrow down possibilities.
以搜尋字串來舉例,看看下列的實作,哪一個比較容易預測?哪一個容易理解?