connection states in haskell protocol definition

This commit is contained in:
Evgeny Poberezkin
2020-05-09 12:38:07 +01:00
parent b16b5c5948
commit 7ee44a6d41
9 changed files with 150 additions and 85 deletions

View File

@@ -2,7 +2,7 @@ module Simplex.Messaging.Protocol
%access public export
data Participant = Recipient | Sender | Broker
data Participant = Recipient | Broker | Sender
data Client : Participant -> Type where
CRecipient : Client Recipient