You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/Subscribing-To-External-Data.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
2
2
> This document will soon be retired, and you probably shouldn't be reading it. It may mislead you. <br> <br>
3
-
> It documents an approach we experiemented with early, before realising it was probably wrong, but we haven't yet transfered the knowledge it contains to some other, less central place. So here is still sits. <br>
3
+
> It documents an approach we experiemented with early, before realising it was probably wrong, but we haven't yet transferred the knowledge it contains to some other, less central place. So here is still sits. <br>
4
4
> <br>
5
5
> The RIGHT WAY in think can be found in FAQs like: <br>
For the moment, you'll have to take my word on this: the symbol `#!clj inc`
183
-
is bound to a function in Clojure's standard library. As a result, when you evaulate `#!clj inc`, you get the function!! Because that's what `inc` is bound to.
183
+
is bound to a function in Clojure's standard library. As a result, when you evaluate `#!clj inc`, you get the function!! Because that's what `inc` is bound to.
184
184
185
185
There's also another symbol, `#!clj count`, which is bound to different function in the standard library.
186
186
@@ -395,7 +395,7 @@ This is a naming convention. It is used for symbols bound to predicate functions
395
395
|`#!clj (empty? [:some :thing])`|`#!clj false`||
396
396
397
397
Again, we can use `#!clj ?` in names because it is not
398
-
an operator, as it is in other lanugages.
398
+
an operator, as it is in other languages.
399
399
400
400
---
401
401
## What Have You Learned ?
@@ -1145,7 +1145,7 @@ XXX tracking is reified dynamics. residential
1145
1145
1146
1146
We have learned:
1147
1147
1148
-
- in ClojureScript we evaulate data, to create new data
1148
+
- in ClojureScript we evaluate data, to create new data
1149
1149
- virtually all data literals evaluate to themselves
Copy file name to clipboardexpand all lines: docs/data-oriented-design.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
**Data-Oriented programming happens when "data is code".** The data can be evaluated/executed.
4
4
5
-
This data must be in a specific format - it must conform to a DSL (domain-specific language) - and there must be an interpreter for this DSL. When you feed correctly formated data into the interpreter, it is executed. "Data is code" for this interpreter.
5
+
This data must be in a specific format - it must conform to a DSL (domain-specific language) - and there must be an interpreter for this DSL. When you feed correctly formatted data into the interpreter, it is executed. "Data is code" for this interpreter.
6
6
7
7
Okay, we'll cycle back to this in a minute. But first ...
8
8
@@ -115,7 +115,7 @@ Look carefully into re-frame, and you'll see the primacy of data everywhere.
115
115
For example, with hiccup at runtime two things are happening:
116
116
117
117
- one execution context (ClojureScript) creates the data `(into [:div] (map renderer items))`
118
-
- one execution context interpets the data (as code) - Reagent.
118
+
- one execution context interprets the data (as code) - Reagent.
119
119
120
120
Same for string-oriented programming. One context creates the regex string (perhaps it is just a literal in that context). And the other context executes it.
4. Run "`npm install`" then "`npm run watch`" to compile the app and start up shadow-cljs hot-reloading
19
-
5. Wait for the compile to finish. At a minumum, 15 seconds. But, if you are new to ClojureScript and some downloads are needed (caches are empty), it might take a minute or two. Eventually you should see `[:client] Build Completed (...)`
19
+
5. Wait for the compile to finish. At a minimum, 15 seconds. But, if you are new to ClojureScript and some downloads are needed (caches are empty), it might take a minute or two. Eventually you should see `[:client] Build Completed (...)`
Copy file name to clipboardexpand all lines: examples/todomvc/README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -29,9 +29,9 @@ really required to get the job done. So lean and minimal is no longer a goal.
29
29
npm run watch
30
30
```
31
31
32
-
5. Wait for the compile in step 4 to finish. At a minumum, 15 seconds. But, if you are new to ClojureScript and some downloads are needed (caches are empty), it might take a minute or two. Eventually you should see `[:client] Build Completed (...)`
32
+
5. Wait for the compile in step 4 to finish. At a minimum, 15 seconds. But, if you are new to ClojureScript and some downloads are needed (caches are empty), it might take a minute or two. Eventually you should see `[:client] Build Completed (...)`
33
33
34
-
6. Wait for step 5 to do the compile, and then open in UI in the broswer:
34
+
6. Wait for step 5 to do the compile, and then open in UI in the browser:
0 commit comments