mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-17 19:17:44 +03:00
10 lines
160 B
Plaintext
10 lines
160 B
Plaintext
|
IO.load
|
||
|
: ∀(A: *)
|
||
|
∀(file: String)
|
||
|
∀(then: ∀(x: String) (IO A))
|
||
|
(IO A)
|
||
|
= λA λfile λthen
|
||
|
~λP λprint λload λsave λdone
|
||
|
(load file then)
|
||
|
|