Skip to content

Commit

Permalink
Update www/content/tutorial.md
Browse files Browse the repository at this point in the history
Good point, thanks

Co-authored-by: Elias Mulhall <[email protected]>
Signed-off-by: Aurélien Geron <[email protected]>
  • Loading branch information
ageron and mulias authored Sep 8, 2024
1 parent 723b753 commit 557b78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/content/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ You can give `dbg` any expression you like, for example:
dbg Str.concat singular plural
```

You can also use `dbg` inside an expression: it will print its input to stderr and return it to the caller. For example:
You can also use `dbg` as a function inside an expression, which will print the function argument to stderr and then return the argument to the caller. For example:

```roc
inc = \n -> 1 + dbg n
Expand Down

0 comments on commit 557b78e

Please sign in to comment.