Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The I/O namespace provides an I/O abstraction that only knows about I/O operations, like read and write, rather than I/O objects.

https://docs.harelang.org/io

There's also an "fs" module which provides a filesystem abstraction:

https://docs.harelang.org/fs

The "os" module links these with the host operating system. It provides an implementation of the fs abstraction for the current working directory in the host filesystem, and also provides convenience wrappers like os::open, which calls fs::open with the host filesystem singleton.

https://docs.harelang.org/os#open



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: