hIOSucc :: (FudgetIO c) => Request -> c a b -> c a b hIOSuccF :: Request -> F a b -> F a b
hIOSucc request f
hIOSucc
allows a fudget (or kernel) to output an arbitrary Haskell IO
request and wait for the response, which is expected to be
Success
. If not, hIOSucc
aborts the program with an error
message. Otherwise, the continuation is invoked.
request :: Request
f :: c a b
hIOSucc (WriteFile "hiscore" hiscorelist)