Edwin Brady
07ae16123c
Only open in binary mode on windows
2020-06-11 14:53:54 +01:00
Edwin Brady
4b1667fdcf
Open files in binary mode
...
Needed for windows, and harmless on Unix (Idris 1 did it this way).
2020-06-11 14:35:26 +01:00
Tim Süberkrüb
46f7b78b0e
Try to fix pclose for Windows
...
Co-authored-by: Niklas Larsson <metaniklas@gmail.com>
2020-05-28 16:12:26 +02:00
Tim Süberkrüb
c2dfe7de7f
Add popen and pclose from Idris 1
2020-05-28 12:58:03 +02:00
Kamil Shakirov
80344b5435
Merge branch 'master' into better-names
2020-05-24 07:59:25 +06:00
Edwin Brady
ad9a2a187f
Fix Char casting
...
For the same behaviour as Idris 1, the primitive cast should return 0 if
the integer is out of bounds. (We should probably drop the Cast
implementation though, since ideally they won't be lossy in general, but
that's an issue for another time...)
All the tests pass in racket now, for me.
2020-05-23 22:19:10 +01:00
Tim Süberkrüb
5dde7063f8
Add popen and pclose from Idris 1
2020-05-23 18:42:05 +02:00
Kamil Shakirov
f696335f2d
Rename some file/dir manipulation functions
...
Renamed:
fileRemove -> removeFile
dirOpen -> openDir
dirClose -> closeDir
rmDir -> removeDir
2020-05-21 18:32:35 +06:00
Edwin Brady
2569b6e991
Update libraries from upstream
2020-05-19 17:03:18 +01:00
Edwin Brady
dec7dff622
Add libraries
2020-05-18 14:00:08 +01:00