Package io.plt contributed by dherman [docs]
To load: (require (planet dherman/io:1:9/io))
Old style:(require (planet "io.ss" ("dherman" "io.plt" 1 9)))
Min Racket version: 369.2
Package description:
A library of I/O utilities.
Downloads this week: 0
Total downloads: 6256
Tickets:3
Open tickets:1
Primary files:
NameContract
with-output-to-string
with-temporary-file
make-filter-input-port
(opt-> ((-> input-port? output-port? any)) (input-port?) input-port?)
stretch-bytes
(case->
  (->r
   ((bytes bytes?) (len (and/c natural-number/c (>=/c (bytes-length bytes)))))
   bytes?)
  (->r
   ((bytes bytes?)
    (len (and/c natural-number/c (>=/c (bytes-length bytes))))
    (big-endian? boolean?))
   bytes?)
  (->r
   ((bytes bytes?)
    (len (and/c natural-number/c (>=/c (bytes-length bytes))))
    (big-endian? boolean?)
    (fill-byte byte?))
   bytes?))
bit-set?
(-> natural-number/c exact-integer/c boolean?)
bytes->integer
(opt->
 (bytes? boolean?)
 (boolean? natural-number/c natural-number/c)
 exact-integer/c)
integer->bytes
(opt->
 (exact-integer/c boolean?)
 (boolean? (optional/c natural-number/c))
 bytes?)
seekable-port?
(-> port? boolean?)
skip-bytes
(opt-> (natural-number/c) (input-port?) any)
read-chars
(opt-> (natural-number/c) (input-port?) (listof char?))
peek-chars
(opt-> (natural-number/c) (input-port?) (listof char?))
read-c-string
(opt-> () (input-port?) bytes?)
read-c-string!
(opt->
 (bytes?)
 (input-port? natural-number/c natural-number/c)
 (union eof-object? natural-number/c))
read-integer
(opt-> (natural-number/c boolean?) (input-port? boolean?) exact-integer/c)
read-lines
(opt-> () (input-port? mode-symbol/c) (listof string?))
peek-integer
(opt-> (natural-number/c boolean?) (input-port? boolean?) exact-integer/c)
write-chars
(opt-> ((listof char?)) (input-port?) any)
write-integer
(opt->
 (exact-integer/c boolean?)
 (output-port? boolean? (optional/c natural-number/c))
 any)
write-c-string
(opt-> (bytes?) (output-port? natural-number/c natural-number/c) any)
write-lines
(opt-> ((listof string?)) (output-port?) any)
 Current version
PLaneT versionExternal versionSourceDLsDocsReq. PLTDate added
(1 9)4
2002
369.22008-09-03
To load: (require (planet dherman/io:1:9/io))
Available in repositories: 4.x, 3xx

Updated tests for SchemeUnit 2.

 Open tickets
[All Tickets] [New Ticket]
Ticket IdOwnerReporterTypeVersion
33dhermandhermandefect
make-filter-input-port hopelessly broken

 Old versions
PLaneT versionExternal versionSourceDLsDocsReq. PLTDate added
(1 8)4
2391
369.22007-04-01
To load: (require (planet "io.ss" ("dherman" "io.plt" 1 (= 8))))
Available in repositories: 4.x, 3xx
[no release notes]
(1 7)3
1114
[none]2007-04-01
To load: (require (planet "io.ss" ("dherman" "io.plt" 1 (= 7))))
Available in repositories: 4.x, 3xx
[no release notes]
(1 6)3
700
[none]2007-04-01
To load: (require (planet "io.ss" ("dherman" "io.plt" 1 (= 6))))
Available in repositories: 4.x, 3xx
[no release notes]
(1 5)3
27
[none]2007-04-01
To load: (require (planet "io.ss" ("dherman" "io.plt" 1 (= 5))))
Available in repositories: 3xx, 4.x
[no release notes]
(1 4)3
8
[none]2007-04-01
To load: (require (planet "io.ss" ("dherman" "io.plt" 1 (= 4))))
Available in repositories: 3xx, 4.x
[no release notes]
(1 3)3
5
[none]2007-04-01
To load: (require (planet "io.ss" ("dherman" "io.plt" 1 (= 3))))
Available in repositories: 3xx, 4.x
[no release notes]
(1 2)3
3
[none]2007-04-01
To load: (require (planet "io.ss" ("dherman" "io.plt" 1 (= 2))))
Available in repositories: 4.x, 3xx
[no release notes]
(1 1)2
3
[none]2007-04-01
To load: (require (planet "io.ss" ("dherman" "io.plt" 1 (= 1))))
Available in repositories: 4.x, 3xx
[no release notes]
(1 0)2
3
[none]2007-04-01
To load: (require (planet "io.ss" ("dherman" "io.plt" 1 (= 0))))
Available in repositories: 4.x, 3xx
[no release notes]