git.iko.soy/rowtype-yoga/purescript-lunapark
on main help sign in
Fix syntax that will be an error in PS 0.13
411ab7bGary Burgess
src/Lunapark/API.purs+1−2
@@ -306,8 +306,7 @@ handleLunapark inp = case _ of
306 R.liftEffect $ Ref.write ts inp.timeoutsRef
306 R.liftEffect $ Ref.write ts inp.timeoutsRef
307 tryAndCache "set timeouts"
307 tryAndCache "set timeouts"
308 [ void $ post (inSession : LP.Timeouts : Nil) (LT.encodeTimeouts ts)
308 [ void $ post (inSession : LP.Timeouts : Nil) (LT.encodeTimeouts ts)
309− , do T.for_ (LT.encodeLegacyTimeouts ts) \j →
309+ , T.for_ (LT.encodeLegacyTimeouts ts) (post (inSession : LP.Timeouts : Nil))
310− void $ post (inSession : LP.Timeouts : Nil) j
311 ]
310 ]
312 pure next
311 pure next
313 GoTo uri next → do
312 GoTo uri next → do