Family Day update

This commit is contained in:
Ingy döt Net 2020-02-17 23:21:07 -08:00
parent aac6731f2c
commit 9ad63ea473
2442 changed files with 39761 additions and 8255 deletions

View file

@ -0,0 +1 @@
(declare foo)

View file

@ -0,0 +1 @@
(def foo (atom 42))

View file

@ -0,0 +1 @@
(def bar (ref 42))

View file

@ -0,0 +1 @@
(def baz (agent 42))

View file

@ -0,0 +1 @@
(def bar)

View file

@ -0,0 +1 @@
(def foo 42)

View file

@ -0,0 +1 @@
(defonce bar 42)

View file

@ -0,0 +1 @@
(defn baz [x] 42)

View file

@ -0,0 +1 @@
(defmacro qux [x] 42)

View file

@ -0,0 +1 @@
(let [foo 42] ...)

View file

@ -0,0 +1,2 @@
(def ^:dynamic foo 10)
(binding [foo 20] ...)

View file

@ -0,0 +1,2 @@
(defn len [^String x]
(.length x))

View file

@ -1,10 +1,10 @@
public program
public program()
{
var c := nil; // declaring variable.
var a := 3; // declaring and initializing variables
var b := "my string".Length;
long l := 200l; // declaring strongly typed variable
auto l := new List<int>();
auto lst := new List<int>();
c := b + a; // assigning variable
}