Next: , Previous: , Up: built-in ports   [Contents][Index]


6.23.2 Textual input–only ports

Core Type: <textual-input-only-port>
Parent Type: <port>

Type of textual input–only ports.

Constructor on <textual-input-only-port>: <port> type-constructor port

Validate port as instance of <textual-input-only-port> and return it.

Type predicate on <textual-input-only-port>: <boolean> type-predicate obj

The type predicate is textual-input-only-port?.

Methods

Method on <textual-input-only-port>: <reader-input-port-mode> mode this
Method on <textual-input-only-port>: () mode this {mode <reader-input-port-mode>}

Accessor and mutator for the port reader mode. The accessor applies port-mode to the argument; the mutator applies set-port-mode! to the arguments.

Method on <textual-input-only-port>: &source-position textual-position this

Apply port-textual-position to the argument and return its return value.

Method on <textual-input-only-port>: <boolean> eof? this

Apply port-eof? to the instance and return its return value.