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