mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-16 15:52:43 +03:00
18 lines
373 B
Plaintext
18 lines
373 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!
|