mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-26 21:23:53 +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!
|