Closed GoogleCodeExporter closed 9 years ago
The problem seems to be that ypsilon, even with the "--r6rs" command line
option,
imports both the ypsilon-specific "delete-file" as well as the
renamed "delete-plain-file".
As I don't see an import of (rnrs files (6)), where the binding of delete-file
is
to be found, I don't see a way to "turn off" this conflicting binding.
Cheers,
-KenD
Original comment by Ken.Dic...@whidbey.com
on 14 Feb 2009 at 5:09
PILOT ERROR -- Never Mind
I see where xitomatl/file-system/base.sls imports (rnrs).
Sorry,
-KenD
Original comment by Ken.Dic...@whidbey.com
on 14 Feb 2009 at 7:30
Thank you for your messages.
I'm now working on compat.ypsilon.sls. ;-)
--fujita
Original comment by y.fujita...@gmail.com
on 15 Feb 2009 at 4:57
I have modified compat.ypsilon.sls, and it is tested with ypsilon revision 384.
(Revision 384 fixes several file operation primitives)
Now, xitomatol/tests/file-system-base-tests reports followings:
-------------
; *** checks *** : 124 correct, 1 failed. First failed example:
(guard
(ex
(else
(and (i/o-filename-error? ex)
(who-condition? ex)
(list (condition-who ex) (cleanse-path (i/o-error-filename ex))))))
(call-with-output-file "a/ab/abb/nope" (lambda (fop) (display "nope" fop)))
'unexpected-return) => (open-file-output-port "a/ab/abb/nope") ; *** failed ***
; expected result: (call-with-output-file "a/ab/abb/nope")
-------------
*Because ypsilon uses open-file-output-port to implement call-with-output-file,
&error condition contains 'open-file-output-port' in who field.
Please try. Thank you!
-- fujita
Original comment by y.fujita...@gmail.com
on 15 Feb 2009 at 1:58
Attachments:
Your corrected version works very well. Thank you for the better refinements!
-KenD
Original comment by Ken.Dic...@whidbey.com
on 15 Feb 2009 at 4:52
Thank you for your reply. I close this issue. :)
-- fujita
Original comment by y.fujita...@gmail.com
on 20 Feb 2009 at 1:59
Original issue reported on code.google.com by
Ken.Dic...@whidbey.com
on 13 Feb 2009 at 6:04Attachments: