mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-01 09:49:24 +03:00
18 lines
359 B
Plaintext
18 lines
359 B
Plaintext
1/1: Building Network (Network.idr)
|
|
Main> 0 io : Type -> Type
|
|
sock : Socket
|
|
port : Int
|
|
addr : Maybe SocketAddress
|
|
ok : Int
|
|
------------------------------
|
|
foo1 : Socket Bound
|
|
Main> 0 io : Type -> Type
|
|
sock : Socket
|
|
port : Int
|
|
addr : Maybe SocketAddress
|
|
ok : Int
|
|
------------------------------
|
|
foo2 : Socket Closed
|
|
Main>
|
|
Bye for now!
|