You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2018. It is now read-only.
We can obtain "-1" by incrementing an int value, proof:
valx=Int.MaxValue
x +Int.MaxValue+1// prints "-1"
But if we try to do this via FSM:
importmoorka._deffsm=FSM(0) {
case-1⇒Dummycase x ⇒Val(x +1)
}
We will get:
java.lang.StackOverflowError
at moorka.rx.bindings.package$.bindingStack(scratch_26.scala:9)
at moorka.rx.bindings.Binding$class.withContext(scratch_26.scala:10)
at moorka.rx.FSM.withContext(scratch_26.scala:15)
Moorka 0.7.1
Scala.JS 0.6.10
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We can obtain "-1" by incrementing an int value, proof:
But if we try to do this via FSM:
We will get:
The text was updated successfully, but these errors were encountered: