mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-18 02:07:33 +02:00
12 lines
336 B
Scheme
12 lines
336 B
Scheme
(define-library (scheme file)
|
|
(export
|
|
call-with-input-file
|
|
call-with-output-file
|
|
)
|
|
(import (scheme base))
|
|
(begin
|
|
(define (call-with-input-file string proc)
|
|
(call-with-port (open-input-file string) proc))
|
|
(define (call-with-output-file string proc)
|
|
(call-with-port (open-output-file string) proc))
|
|
))
|