diff options
Diffstat (limited to 'docs/guide/05_basic-types.md')
| -rw-r--r-- | docs/guide/05_basic-types.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/guide/05_basic-types.md b/docs/guide/05_basic-types.md index c22929c..3137008 100644 --- a/docs/guide/05_basic-types.md +++ b/docs/guide/05_basic-types.md @@ -42,10 +42,12 @@ as the values type. Give it a try: This will print the following: - changes to files: values.alv - trace "hello": <str= "hello"> - trace 2: <num= 2> - trace true: <bool= true> +```output +changes to files: values.alv +trace "hello": <str= "hello"> +trace 2: <num= 2> +trace true: <bool= true> +``` On the left side of the colon, [trace][] prints the expression that it is evaluating. On the right side, three pieces of information are shown: @@ -53,7 +55,7 @@ evaluating. On the right side, three pieces of information are shown: - the *type*: `str`, `num`, `bool` - the *value* itself: `"hello"`, `2`, `true` - the *kind* of the result: `=` - + `=` means that these values are *constant* - they will not change by themselves until the code is changed. For simple values like these that seems obvious, but in `alv` we can also create values tha change over time, as we will see soon. |
