Skip to content

Commit

Permalink
Document the commands to run in the REPL for the first examples of th…
Browse files Browse the repository at this point in the history
…e tutorial (#48)

* Document command to execute in the REPL

Provide the command to execute in the REPL for running the example.

* Document REPL commands through the start of the tutorial
  • Loading branch information
l-monnier authored Oct 13, 2024
1 parent 87d3bf9 commit 3dd9beb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/src/Docs/Intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ checkReverse : IO Bool
checkReverse = check propReverse
```

Running this produces the following output:
Running `:exec checkReverse` in the REPL produces the following output:

```repl
> ✓ <interactive> passed 100 tests.
Expand Down Expand Up @@ -107,7 +107,7 @@ checkPack =
]
```

Running this in the REPL results in the following output:
Running `:exec checkPack` in the REPL results in the following output:

```repl
> ━━━ Fast String Functions ━━━
Expand Down Expand Up @@ -145,7 +145,8 @@ checkFailing1 : IO Bool
checkFailing1 = checkNamed "propAddInts" propAddInts
```

Running the above results in output similar to this:
Running `:exec checkFailing1` in the REPL results in
an output similar to this:

```repl
> ✗ propAddInts failed after 7 tests.
Expand Down

0 comments on commit 3dd9beb

Please sign in to comment.