Archived
1
0

chore(vscode): update to 1.53.2

These conflicts will be resolved in the following commits. We do it this way so
that PR review is possible.
This commit is contained in:
Joe Previte
2021-02-25 11:27:27 -07:00
1900 changed files with 83066 additions and 64589 deletions

View File

@ -1,6 +1,6 @@
{
"comments": {
"lineComment": ";"
"lineComment": ";;"
},
"brackets": [
["{", "}"],

View File

@ -1,52 +0,0 @@
;; from http://clojure-doc.org/articles/tutorials/introduction.html
(require '[clojure.string :as str])
(def the-answer 42)
[1 2 3] ; A vector
[1 :two "three"]
{:a 1 :b 2}
#{:a :b :c}
'(1 2 3)
(def my-stuff ["shirt" "coat" "hat"]) ; this is more typical usage.
(my-func (my-func2 arg1
arg2)
(other-func arg-a
(foo-bar arg-x
arg-y
(+ arg-xx
arg-yy
arg-zz))
arg-b))
'(+ 1 2 3)
;; ⇒ (+ 1 2 3)
(let [width 10
height 20
thickness 2]
(println "hello from inside the `let`.")
(* width
height
thickness))
;; Vectors
(def v [:a :b :c])
(def li '(:a :b :c))
(conj v :d) ; ⇒ [:a :b :c :d]
(conj li :d) ; ⇒ (:d :a :b :c)
v ; ⇒ is still [:a :b :c]
li ; ⇒ is still (:a :b :c)
;; Maps
(def m {:a 1 :b 2})
(assoc m :c 3) ; ⇒ {:a 1 :c 3 :b 2}
(dissoc m :b) ; ⇒ {:a 1}
(def my-atom (atom {:foo 1}))
;; ⇒ #'user/my-atom
@my-atom
;; ⇒ {:foo 1}
(swap! my-atom update-in [:foo] inc)
;; ⇒ {:foo 2}
@my-atom
;; ⇒ {:foo 2}