cameri-old-retired on Nostr: Automatic language test (Clojure): ``` (defn make-adder [x] (let [y x] (fn [z] (+ y ...
Automatic language test (Clojure):
```
(defn make-adder [x]
(let [y x]
(fn [z] (+ y z))))
(def add2 (make-adder 2))
(add2 4)
```
Published at
2022-01-21 03:28:35Event JSON
{
"id": "2773279c587e9988bc9ab3a1bc02800ca8d57f6784ab8a69c4c3d4e4e05b8d05",
"pubkey": "22e804d26ed16b68db5259e78449e96dab5d464c8f470bda3eb1a70467f2c793",
"created_at": 1642735715,
"kind": 1,
"tags": [
[
"e",
"2b0a8d67b7c1d6d1c0a4d5b6cd5d6d634a0595aa2cc2e9e7aa5d0ab36b54ec0b"
]
],
"content": "Automatic language test (Clojure):\n\n```\n(defn make-adder [x]\n (let [y x]\n (fn [z] (+ y z))))\n(def add2 (make-adder 2))\n(add2 4)\n```",
"sig": "ef7dd609c7faacd7ab1b6c2525b14ed9a8b121112c9cb06266609438ccd757e7ca577c11e2c6c01b599e67546b614e2f64fc68e9d5c925951a18423e5fb21fc0"
}