mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 17:56:48 +03:00
8 lines
186 B
Plaintext
8 lines
186 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) |