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
A rec block inside VarT will cause an infinite cyclic reference crash, even for simple cases where the variable is fed constant input and is not referenced outside rec. Tested over both IO and Identity. Below is a minimal complete example. Compiler is GHC 8.6.5 using base 4.12.0.0.
moduleMainwhereimportControl.Varying.CoreimportControl.Varying.EventimportControl.ArrowimportData.Functor.Identitymain::IO()
main =do
testVarOver testVar [5.0]
wheretestVar::VarTIODouble (MaybeDouble)
testVar =proc val ->dorec _ <- returnA -<0.5
returnA -<Just5.0
For reference, the equivalent of the above runs fine in wires.
The text was updated successfully, but these errors were encountered:
A
rec
block inside VarT will cause an infinite cyclic reference crash, even for simple cases where the variable is fed constant input and is not referenced outsiderec
. Tested over both IO and Identity. Below is a minimal complete example. Compiler is GHC 8.6.5 using base 4.12.0.0.For reference, the equivalent of the above runs fine in
wires
.The text was updated successfully, but these errors were encountered: