Skip to content

Commit

Permalink
fix(runtime): fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
symbiont-stevan-andjelkovic committed Sep 8, 2021
1 parent e7914a6 commit f0236f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime-prototype/src/Scheduler.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fakeScheduler :: RemoteRef -> Message -> Actor
fakeScheduler executorRef (ClientRequest' "CreateTest" [SInt tid] cid) = Actor $ do
-- load from db. XXX: need to extend IO module to be able to return Datatype?
p <- asyncIO (IOQuery "SELECT agenda FROM test_info WHERE test_id = :tid" [":tid" := tid])
on p (\IOResultR (IORows entries) -> undefined)
on p (\(IOResultR (IORows entries)) -> undefined)
undefined
fakeScheduler executorRef (ClientRequest "Start" cid) = Actor $ do
-- pop agenda end send to executorRef
Expand Down

0 comments on commit f0236f3

Please sign in to comment.