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 44### 0.5.4 (unreleased)
55
66* Added ` nop ` and ` _nop ` to ` ReactS.Fix{,T} ` .
7+ * Added ` T[A] ` to ` ReactS.Fix{,T} ` .
78* Added ` ReactS.liftIO ` (workaround for Intellij).
89* Made ` ReactS.>> ` lazy.
910
Original file line number Diff line number Diff line change @@ -122,6 +122,8 @@ object ScalazReact {
122122
123123 @ inline def Fix [S ] = new Fix [S ]
124124 final class Fix [S ] {
125+ type T [A ] = ReactS [S , A ]
126+
125127 @ inline def nop : ReactS [S ,Unit ] = ret(())
126128 @ inline def _nop : Any => ReactS [S ,Unit ] = _ => nop
127129
@@ -153,6 +155,8 @@ object ScalazReact {
153155
154156 @ inline def FixT [M [+ _], S ] = new FixT [M , S ]
155157 final class FixT [M [+ _], S ] {
158+ type T [A ] = ReactST [M , S , A ]
159+
156160 @ inline def nop (implicit M : Applicative [M ]): ReactST [M ,S ,Unit ] = ret(())
157161 @ inline def _nop (implicit M : Applicative [M ]): Any => ReactST [M ,S ,Unit ] = _ => nop
158162
Original file line number Diff line number Diff line change @@ -121,6 +121,8 @@ object ScalazReact {
121121
122122 @ inline def Fix [S ] = new Fix [S ]
123123 final class Fix [S ] {
124+ type T [A ] = ReactS [S , A ]
125+
124126 @ inline def nop : ReactS [S ,Unit ] = ret(())
125127 @ inline def _nop : Any => ReactS [S ,Unit ] = _ => nop
126128
@@ -152,6 +154,8 @@ object ScalazReact {
152154
153155 @ inline def FixT [M [_], S ] = new FixT [M , S ]
154156 final class FixT [M [_], S ] {
157+ type T [A ] = ReactST [M , S , A ]
158+
155159 @ inline def nop (implicit M : Applicative [M ]): ReactST [M ,S ,Unit ] = ret(())
156160 @ inline def _nop (implicit M : Applicative [M ]): Any => ReactST [M ,S ,Unit ] = _ => nop
157161
You can’t perform that action at this time.
0 commit comments