Functional Problem Solving (CSC 151 2015F) : Reference
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Taking Notes] [Rubric] [Remote Access]
Current: [Assignment] [EBoard] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards] [Labs] [Outlines] [Readings] - [Examples] [Handouts]
Reference: [Setup] [VM] [Errors] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Curtsinger (2015F)] [Davis (2013F)] [Rebelsky (2015S)] [Weinman (2014F)]
Misc: [Submit Questions] - [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Issue Tracker (Course)]
(open-input-file
filename)
(open-output-file
filename)
(close-input-port
input-port)
(close-output-port
output-port)
(read
input-port)
(read-char
input-port)
(peek-char
input-port)
(display
value
output-port)
value on the specified
port.
(write
value
output-port)
(write-char
ch
output-port)
(newline
output-port)
(input-port?
val)
val is an open input port.
(output-port?
val)
val is an open output port.
(file-exists?
filename)
(eof-object?
val)
val is something returned by
read (or read-char or
peek-char) to indicate the end of input.
(delete-file
filename)