mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 17:25:31 +03:00
9 lines
194 B
Plaintext
9 lines
194 B
Plaintext
// Loads a file into a book
|
|
Kind.load.code
|
|
: ∀(name: String)
|
|
(IO Kind.Book)
|
|
= λname
|
|
(IO.load Kind.Book (String.concat name ".kind2") λdata
|
|
(IO.done Kind.Book (Kind.Book.parse data)))
|
|
|