While I wrote multicore tests of Sys module that run on Linux, macOS, and Windows CI,
I discovered that Sys.readdir doesn't behave the same on Linux or macOS as on MingW Windows.
Running the command on a Windows OCaml top-level using OCaml 5.0.0:
# Sys.readdir "non_existant_path";;
- : string array = [||]
We get back a string array empty instead of raising a Sys.error complaining of an unfound directory.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4