Skip to content

Commit c1b03b7

Browse files
committed
fixup! typed-protocols: new API
1 parent d4a9194 commit c1b03b7

File tree

1 file changed

+0
-16
lines changed
  • typed-protocols/src/Network/TypedProtocol

1 file changed

+0
-16
lines changed

typed-protocols/src/Network/TypedProtocol/Core.hs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ module Network.TypedProtocol.Core
4747
, Nat (Succ, Zero)
4848
, natToInt
4949
, unsafeIntToNat
50-
, Trans (..)
51-
, SingTrans (..)
5250
, ActiveAgency
5351
, ActiveAgency' (..)
5452
, IsActiveState (..)
@@ -487,20 +485,6 @@ type family FlipAgency pr where
487485
FlipAgency AsServer = AsClient
488486

489487

490-
-- | Transition kind.
491-
--
492-
data Trans ps where
493-
Tr :: forall ps. ps -> ps -> Trans ps
494-
495-
496-
-- | Singleton for @'Trans' ps@ kind.
497-
--
498-
type SingTrans :: Trans ps -> Type
499-
data SingTrans tr where
500-
SingTr :: forall ps (st :: ps) (st' :: ps).
501-
SingTrans (Tr st st')
502-
503-
504488
-- | A type level inductive natural number.
505489
data N = Z | S N
506490

0 commit comments

Comments
 (0)