Skip to content

Commit

Permalink
Replaced '' by quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
tisnik committed May 4, 2017
1 parent 8b8333b commit 147dcbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions JBug/clojure/clojure_en.txt
Original file line number Diff line number Diff line change
Expand Up @@ -255,15 +255,15 @@ Factorial - a typical example
(fact 10000M)
StackOverflowError :)
Very deep recursion might cause stack overflow
''recur'' special form
"recur" special form
(defn fact
([n]
(fact n 1))
([n acc]
(if (<= n 1)
acc
(recur (dec n) (* acc n)))))
It is not possible to use ''recur'' everywhere
It is not possible to use "recur" everywhere
so called "tail position"

Memoization
Expand Down Expand Up @@ -592,7 +592,7 @@ Future+promise dataflow
Watchers
--------
Watcher
Function ''registered'' to some reference
Function "registered" to some reference
Automatically called when reference changes its value
Watcher is called in the same thread
Any number of watchers can be set for one reference
Expand All @@ -619,7 +619,7 @@ Watchers
Validators
----------
Validator
Function ''registered'' to some reference
Function "registered" to some reference
Automatically called to check if reference value is correct
During write/set operations
Bypassed inside transaction!
Expand Down

0 comments on commit 147dcbf

Please sign in to comment.