Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
luipugs committed Jul 18, 2022
1 parent e4ac3f8 commit 2a61209
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Language.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ pattern `some event`, and if it does match, increments `variable`.

#### Types

`mtail` metrics have a *kind* and a *type*. The *kind* effects how the metric is recorded, and the *type* describes the data being recorded.
`mtail` metrics have a *kind* and a *type*. The *kind* affects how the metric is recorded, and the *type* describes the data being recorded.

Ordinarily `mtail` doesn't treat kinds specially, except when they are being exported.

Expand Down Expand Up @@ -456,7 +456,7 @@ bug!)
* `int(x)`, a function of one argument performs type conversion to integer. If
`x` is a type that can be converted to integer, it does so. If the type of
`x` cannot be converted to an integer, a compile error is triggered. If the
valye of `x` cannot be converted to an integer, then a runtime error is
value of `x` cannot be converted to an integer, then a runtime error is
triggered.
* `float(x)`, a function of one argument that performs type conversion to
floating point numbers. The same rules apply as for `int()` above.
Expand Down Expand Up @@ -535,7 +535,7 @@ The advantage of limiting pattern matches to specific values is that `mtail` can
generate faster bytecode if it knows at compile-time the types to expect. If
`mtail` can't infer the value types, they default to `String` and `mtail` will
attempt a value conversion at runtime if necessary. Runtime conversion errors
will be emitted to the standard INFO log, and terminate program exection for
will be emitted to the standard INFO log, and terminate program execution for
that log line.

#### Variable Storage Management
Expand Down

0 comments on commit 2a61209

Please sign in to comment.