Skip to content

Commit 4760295

Browse files
authored
Update Speaker Notes for compound-types.md (#207)
It could be a "gotcha" moment for readers when they associate `()` with `void` from, say, C++.
1 parent dc894b1 commit 4760295

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/basic-syntax/compound-types.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Tuples:
5555
* The empty tuple `()` is also known as the "unit type". It is both a type, and
5656
the only valid value of that type - that is to say both the type and its value
5757
are expressed as `()`. It is used to indicate, for example, that a function or
58-
expression has no return value, as we'll see in a future slide.
58+
expression has no return value, as we'll see in a future slide.
59+
* You can think of it as `void` that can be familiar to you from other
60+
programming languages.
5961

6062
</details>

0 commit comments

Comments
 (0)