@@ -10,8 +10,8 @@ The first and only true Functional Reactive Programming framework for Scala.
10
10
11
11
## Justification
12
12
13
- How can we say it's the first true FRP framework for Scala? Simple, because it is. In all other frameworks they add special
14
- framework-specific functions to do things like math (ex. adding two variables together), collection building (ex. a
13
+ How can we say it's the first true FRP framework for Scala? In all other frameworks they add special framework-specific
14
+ functions to do things like math (ex. adding two variables together with a special ` + ` method ), collection building (ex. a
15
15
special implementation of ` ::: ` to concatenate two variables containing lists), or similar mechanisms to Scala's built-in
16
16
collection manipulation (ex. ` map ` ). These are great and mostly fill in the gaps necessary to solve your problems. But
17
17
the goal for Reactify was a bit loftier. We set out to create a system that actually allows you to use ANY Scala
@@ -30,13 +30,13 @@ reactify is published to Sonatype OSS and Maven Central currently supporting:
30
30
Configuring the dependency in SBT simply requires:
31
31
32
32
```
33
- libraryDependencies += "com.outr" %% "reactify" % "4.0.8 "
33
+ libraryDependencies += "com.outr" %% "reactify" % "4.1.3 "
34
34
```
35
35
36
36
or, for Scala.js / Scala Native / cross-building:
37
37
38
38
```
39
- libraryDependencies += "com.outr" %%% "reactify" % "4.0.8 "
39
+ libraryDependencies += "com.outr" %%% "reactify" % "4.1.3 "
40
40
```
41
41
42
42
## Concepts
@@ -228,7 +228,7 @@ edge. We can simplify things by leveraging a `Dep` instance to represent it:
228
228
val width: Var[Double] = Var(0.0)
229
229
230
230
val left: Var[Double] = Var(0.0)
231
- val center: Dep[Double, Double] = Dep(left)(_ + (width / 2.0), _ - (widht / 2.0))
231
+ val center: Dep[Double, Double] = Dep(left)(_ + (width / 2.0), _ - (width / 2.0))
232
232
val right: Dep[Double, Double] = Dep(left)(_ + width, _ - width)
233
233
```
234
234
@@ -250,7 +250,7 @@ val b = Var[String]("World")
250
250
val binding = a bind b
251
251
```
252
252
253
- By default this will assign the value of ` a ` to ` b ` and then changes to either will propagate to the other. If you want
253
+ By default, this will assign the value of ` a ` to ` b ` and then changes to either will propagate to the other. If you want
254
254
to detach the binding:
255
255
256
256
``` scala
0 commit comments