Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dustingetz committed Oct 31, 2023
1 parent 9ed1a40 commit dc2d20b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quickstart.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
(tests ; fun async tests at the REPL, see https://github.com/hyperfiddle/rcf
"a continuous flow"
(def !a (atom 0)) ; variable input
(def >a (m/watch !a)) ; continuous flow of successive values of variable !a
(def <b (m/latest inc >a)) ; map (as continuous flow, i.e. `inc` is computed on sample, pulled not pushed)
(def <a (m/watch !a)) ; continuous flow of successive values of variable !a
(def <b (m/latest inc <a)) ; map (as continuous flow, i.e. `inc` is computed on sample, pulled not pushed)

; Run the flow
(def main ; a process task – run the process until it terminates
Expand Down

0 comments on commit dc2d20b

Please # to comment.