Skip to content

Commit 2b404a0

Browse files
authored
Update hello_world.md
1 parent 4985f0d commit 2b404a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/hello_world.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ let main = puts "Hello, World!"
1010

1111
Let's break this down line by line.
1212

13-
The code starts with an import statement. Since we want to output, or "print" a string, we'll need to import the function that allows us to do that. In this case, that's the function [`puts`]() from the [`io`]() module of the [standard library](standard_library.md).
13+
The code starts with an import statement. Since we want to output, or "print" a string, we'll need to import the function that allows us to do that. In this case, that's the function [`puts`](stdlib/io.md#puts) from the [`io`](stdlib/io.md) module of the [standard library](stdlib/stdlib.md).
1414

1515
Next is the [value binding](language/value-bindings.md) of `main`. Every Som program needs to define a value called `main`, which is where that program's execution starts. In this case, all that `main` does is use the imported `puts` function to print a string.
1616

0 commit comments

Comments
 (0)