sunterlib/scsh/dir-streams/packages.scm

94 lines
1.9 KiB
Scheme
Raw Normal View History

2003-01-28 05:59:51 -05:00
(define-interface dir-streams-interface
2003-02-13 07:00:40 -05:00
(export dir-stream-from-dir-name
2004-01-22 07:31:12 -05:00
dir-stream?
dir-stream-files-stream
dir-stream-subdir-stream
dir-stream-info
2004-03-11 15:48:57 -05:00
2004-01-22 07:31:12 -05:00
dir-stream-for-each
dir-stream-map
dir-stream-filter
dir-stream-filter-map
dir-stream-fold-right
2004-01-08 02:39:37 -05:00
2004-01-22 07:31:12 -05:00
fs-object?
2003-01-28 05:59:51 -05:00
fs-object-parent
fs-object-name
fs-object-info
2004-01-22 07:31:12 -05:00
fs-object-file-name))
2003-01-28 05:59:51 -05:00
(define-interface dir-stream-predicates-interfaces
2003-02-21 05:07:52 -05:00
(export fs-object-size-less-than?
fs-object-size-greater-than?
2003-01-28 05:59:51 -05:00
days->seconds
hours->seconds
minutes->seconds
fs-object-last-modified-in?
fs-object-last-accessed-in?
fs-object-created-in?
fs-object-name-matches?
2003-02-13 06:59:11 -05:00
ds-object-file-name-matches?))
2003-01-28 05:59:51 -05:00
(define-interface streams-interface
(export the-empty-stream
make-empty-stream
make-stream
make-stream-lazily
(stream :syntax)
stream-empty?
stream-head
stream-tail
stream-map
stream-zip-with
stream-for-each
stream-filter
stream-filter-map
stream-unfold
stream-transform
stream-take
stream-drop
stream-fold-right
stream-fold-right-lazily
stream-prepend
list->stream
stream-from
stream-from-to
stream-from-then
stream-from-then-to
stream-ref
stream-iterate
stream-cycle
stream-take-while
2004-03-11 15:48:57 -05:00
stream-drop-while))
2004-03-27 02:53:24 -05:00
(define-interface dir-stream-tools-interface
(export dir-stream-disc-usage
dir-stream-display))
2004-03-11 15:48:57 -05:00
(define-structure dir-streams dir-streams-interface
(open scheme-with-scsh
handle
conditions
define-record-types
let-opt
records
streams)
(files dir-stream))
(define-structure dir-stream-predicates dir-stream-predicates-interfaces
(open
scheme-with-scsh
dir-streams)
(files dir-stream-predicates))
2004-03-27 02:53:24 -05:00
(define-structure dir-stream-tools dir-stream-tools-interface
(open scheme-with-scsh
dir-streams)
(files dir-stream-tools))
2004-03-11 15:48:57 -05:00
(define-structure streams
streams-interface
(open scheme
signals)
(files stream))