This website requires JavaScript.
Explore
Help
Sign In
idris-lang
/
Idris2
Watch
1
Star
1
Fork
0
You've already forked Idris2
mirror of
https://github.com/idris-lang/Idris2.git
synced
2024-12-20 18:21:47 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
09466a96bb
Idris2
/
tests
/
base
/
system_directory
/
run
4 lines
49 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add testing utilities script
2023-08-29 13:47:42 +03:00
. ../../testutils.sh
System.Directory.nextDirEntry * add `nextDirEntry` which returns `Maybe String`, so `Nothing` on the end of directory unlike `dirEntry` which returns unspecified error on the end of directory * `dirEntry` is deprecated now, but not removed because compiler depends on it * native implementation of `dirEntry` is patched to explicitly reset `errno` before the `readdir` call: without it end of directory and error were indistinguishable * test added
2021-07-16 20:33:48 +03:00
Add testing utilities script
2023-08-29 13:47:42 +03:00
idris2 ReadDir.idr < input
Reference in New Issue
Copy Permalink