racket/collects/mzlib/scribblings/port.scrbl
Robby Findler d00aed6f1b fix the module reader for the case when there are non-ASCII unicode characters
in comments before the #lang line

also add an #:init-position argument to peeking-input-port
2011-11-03 17:13:17 -05:00

17 lines
508 B
Racket

#lang scribble/doc
@(require "common.rkt"
(for-label mzlib/port))
@mzlib[#:mode title port]
The @racketmodname[mzlib/port] library mostly re-provides
@racketmodname[racket/port].
@defproc[(strip-shell-command-start [in input-port?]) void?]{
Reads and discards a leading @litchar{#!} in @racket[in] (plus
continuing lines if the line ends with a backslash). Since
@litchar{#!} followed by a forward slash or space is a comment, this
procedure is not needed before reading Scheme expressions.}