mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-22 12:21:30 +03:00
23 lines
531 B
Plaintext
23 lines
531 B
Plaintext
|
1/2: Building Linear (Linear.idr)
|
||
|
2/2: Building Door (Door.idr)
|
||
|
Door> 0 m : Type -> Type
|
||
|
1 d : Door Closed
|
||
|
-------------------------------------
|
||
|
something : Int
|
||
|
Door> 0 m : Type -> Type
|
||
|
1 d : Door Closed
|
||
|
x : Int
|
||
|
-------------------------------------
|
||
|
bar : Use Many m ()
|
||
|
Door> 0 m : Type -> Type
|
||
|
0 d : Door Closed
|
||
|
-------------------------------------
|
||
|
something2 : Int
|
||
|
Door> 0 m : Type -> Type
|
||
|
0 d : Door Closed
|
||
|
x : Int
|
||
|
1 d' : Door Closed
|
||
|
-------------------------------------
|
||
|
bar2 : Use Many m ()
|
||
|
Door> Bye for now!
|