bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38237: I/O errors do not currently have their own exception type


From: Andy Wingo
Subject: bug#38237: I/O errors do not currently have their own exception type
Date: Sat, 16 Nov 2019 22:09:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

For R7RS, this should be true:

  (file-error? (guard (exn (else exn)) (open-input-file " no such file ")))

However currently an error during Guile's open-input-file doesn't raise
a specific-enough exception for file-error? to be implementable.
Something to fix.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]