Skip to content

Commit

Permalink
Clean up selective receive
Browse files Browse the repository at this point in the history
  • Loading branch information
Zalastax committed Apr 2, 2018
1 parent 5625644 commit f3797ff
Show file tree
Hide file tree
Showing 4 changed files with 359 additions and 181 deletions.
4 changes: 2 additions & 2 deletions src/Examples/Call.agda
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ calltestActor .force = spawn∞ calculatorActor ∞>>
return-result x
where
return-result : SelRec TestBox (call-select (Z ∷ []) Z) {i} ∞ActorM i TestBox (Lift ℕ) [] (λ _ [])
return-result record { msg = (Msg Z (px ∷ x₁)) ; right-msg = right-msg ; waiting = waiting } = return px
return-result record { msg = (Msg (S x) x₁) ; right-msg = () }
return-result record { msg = (Msg Z (px ∷ x₁)) } = return px
return-result record { msg = (Msg (S x) x₁) ; msg-ok = () }

174 changes: 0 additions & 174 deletions src/Examples/SelectiveReceive.agda

This file was deleted.

Loading

0 comments on commit f3797ff

Please sign in to comment.