Skip to content

Commit

Permalink
(docs) Grammar fixes (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArshadAriff authored Oct 31, 2024
1 parent 4b5522d commit 193ebe6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docs/scheme-intro/input-output.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ There is also a function that write single character `(write-char x)`

## Standard input

The standard input is a way to get stuff from the user. Scheme provide one function for this which
is `read`. The function wait for the user to type something and return single
The standard input is a way to get stuff from the user. Scheme provides one function for this which
is `read`. The function waits for the user to type something and return single
[S-Expression](/docs/scheme-intro/what-is-lisp#s-expressions).

Example:
Expand Down Expand Up @@ -345,7 +345,7 @@ Some scheme implementations have `with-input-from-string` procedure:
;; ==> 10 (1 2 3 4)
```

Procedure `with-input-from-string` changes the current-input-port so you can use `read` without an
The procedure `with-input-from-string` changes the current-input-port so you can use `read` without an
argument.

Another useful procedure that some Scheme implementations have is `read-all`. It read all the
Expand Down

0 comments on commit 193ebe6

Please sign in to comment.