File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
scalaz-7.0/src/main/scala/japgolly/scalajs/react
scalaz-7.1/src/main/scala/japgolly/scalajs/react Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 4
4
### 0.5.4 (unreleased)
5
5
6
6
* Added ` nop ` and ` _nop ` to ` ReactS.Fix{,T} ` .
7
+ * Added ` T[A] ` to ` ReactS.Fix{,T} ` .
7
8
* Added ` ReactS.liftIO ` (workaround for Intellij).
8
9
* Made ` ReactS.>> ` lazy.
9
10
Original file line number Diff line number Diff line change @@ -122,6 +122,8 @@ object ScalazReact {
122
122
123
123
@ inline def Fix [S ] = new Fix [S ]
124
124
final class Fix [S ] {
125
+ type T [A ] = ReactS [S , A ]
126
+
125
127
@ inline def nop : ReactS [S ,Unit ] = ret(())
126
128
@ inline def _nop : Any => ReactS [S ,Unit ] = _ => nop
127
129
@@ -153,6 +155,8 @@ object ScalazReact {
153
155
154
156
@ inline def FixT [M [+ _], S ] = new FixT [M , S ]
155
157
final class FixT [M [+ _], S ] {
158
+ type T [A ] = ReactST [M , S , A ]
159
+
156
160
@ inline def nop (implicit M : Applicative [M ]): ReactST [M ,S ,Unit ] = ret(())
157
161
@ inline def _nop (implicit M : Applicative [M ]): Any => ReactST [M ,S ,Unit ] = _ => nop
158
162
Original file line number Diff line number Diff line change @@ -121,6 +121,8 @@ object ScalazReact {
121
121
122
122
@ inline def Fix [S ] = new Fix [S ]
123
123
final class Fix [S ] {
124
+ type T [A ] = ReactS [S , A ]
125
+
124
126
@ inline def nop : ReactS [S ,Unit ] = ret(())
125
127
@ inline def _nop : Any => ReactS [S ,Unit ] = _ => nop
126
128
@@ -152,6 +154,8 @@ object ScalazReact {
152
154
153
155
@ inline def FixT [M [_], S ] = new FixT [M , S ]
154
156
final class FixT [M [_], S ] {
157
+ type T [A ] = ReactST [M , S , A ]
158
+
155
159
@ inline def nop (implicit M : Applicative [M ]): ReactST [M ,S ,Unit ] = ret(())
156
160
@ inline def _nop (implicit M : Applicative [M ]): Any => ReactST [M ,S ,Unit ] = _ => nop
157
161
You can’t perform that action at this time.
0 commit comments