commit 30e68d3a2ca445a8399a4f144d4f438b48bd2ab1
parent e037a48d7a78c97b721db3af8f20b550fe2fac5b
Author: Georges Dupéron <georges.duperon@gmail.com>
Date: Wed, 17 Aug 2016 13:01:38 +0200
README changes suggested by O. Andreescu. Thanks!
Diffstat:
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
@@ -13,7 +13,7 @@ series of tests.
Installation
------------
-Install thiw package with:
+Install this package with:
```
raco pkg install repltest
@@ -22,14 +22,15 @@ raco pkg install repltest
Usage
-----
-Then write a file using the repltest meta-language, containing
-definitions at the top and interactions after the first prompt (by
-default the prompt is `"> "`, I will add customization options later).
+Write a file using the repltest meta-language, containing definitions at the
+top and interactions after the first prompt (by default the prompt is `"> "`,
+I will add customization options later). Each prompt is followed by a single
+expression and by the expected result.
```
#lang debug repltest typed/racket
;; There is a problem if there is a comment before a prompt, as comments
-;; are not gobbled-up by the preceeding read. This will be fixed in a
+;; are not gobbled-up by the preceding read. This will be fixed in a
;; later version.
(define x 0)
(define y 1)
@@ -54,4 +55,4 @@ default the prompt is `"> "`, I will add customization options later).
When the `test` submodule of this file is executed (e.g. with `raco
test file.rkt`), `repltest` runs the expression after each `> `
-prompt, and check they give the expected result.
-\ No newline at end of file
+prompt, and checks the expected result is produced.
+\ No newline at end of file