Explicit object type

This commit is contained in:
Justin Ethier 2016-10-01 18:25:49 -04:00
parent 4676b376ba
commit 8a14013a05

View file

@ -163,7 +163,7 @@ Return the command line arguments to the program as a list of strings.
(cons a b) (cons a b)
Create a new pair with its car field set to `a` and its cdr field set to `b`. Create a new pair with its car field set to `a` and its cdr field set to `b`.
#delete-file #delete-file
(delete-file filename) (delete-file string)
Delete a file with the given filename. Delete a file with the given filename.
#eof-object? #eof-object?
(eof-object? obj) (eof-object? obj)
@ -185,8 +185,8 @@ Raises an exception by calling `raise` with the given message and objects.
(exit obj) (exit obj)
Exit the program. Exit the program.
#file-exists? #file-exists?
(file-exists? filename) (file-exists? string)
Determine if the given file exists. Determine if the file with filename `string` exists.
#integer->char #integer->char
(integer->char x) (integer->char x)
Return a character with the same value as the given integer. Return a character with the same value as the given integer.