Skip to content

Commit

Permalink
Misc Fixes (#1879)
Browse files Browse the repository at this point in the history
Co-authored-by: Cuihtlauac ALVARADO <[email protected]>
  • Loading branch information
cuihtlauac and Cuihtlauac ALVARADO authored Dec 22, 2023
1 parent 735c6c2 commit 0358000
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions data/tutorials/getting-started/1_02_your_first_ocaml_program.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ How to work on several OCaml projects simultaneously is out of the scope of this

When you installed OCaml, a global opam switch was created automatically. This tutorial can be completed while working inside this global opam switch.

When you work on several OCaml projects simultaneously, you should create more opam switches. For instructions on how to do that, see ["Introduction to opam Switches"](/docs/opam-switch-introduction).
When you work on several OCaml projects simultaneously, you should create more opam switches. For instructions on how to do that, see [Introduction to opam Switches](/docs/opam-switch-introduction).

## Compiling OCaml Programs

Expand Down Expand Up @@ -112,7 +112,7 @@ However, it is common practice to single out a value that triggers all the side

## Modules and the Standard Library, Cont'd

Let's summarise what was said about modules in the ["Tour of OCaml"](/docs/tour-of-ocaml):
Let's summarise what was said about modules in the [Tour of OCaml](/docs/tour-of-ocaml):
- A module is a collection of named values.
- Identical names from distinct modules don't clash.
- The standard library is collection of several modules.
Expand Down Expand Up @@ -272,13 +272,13 @@ Here is the meaning of the two new lines:

The files `lib/hello.ml` and `lib/hello.mli` need to be edited, too:

##### `lib/hello.mli`
**`lib/hello.mli`**
```ocaml
val string_of_string_list : string list -> string
val world : string list
```
##### `lib/hello.ml`

**`lib/hello.ml`**
```ocaml
let string_list_pp = [%show: string list]
Expand Down

0 comments on commit 0358000

Please sign in to comment.