Fix space positioning typo

This commit is contained in:
Jan Van Bruggen 2022-09-07 22:41:53 -06:00
parent 072a6bd002
commit 2cbfef490a
No known key found for this signature in database
GPG key ID: FE2A4E38E0FA6134
2 changed files with 1 additions and 2 deletions

View file

@ -6,7 +6,6 @@ config:
no-duplicate-heading: false
no-emphasis-as-heading: false
no-inline-html: false
no-space-in-code: false
no-trailing-punctuation: false
no-trailing-spaces: false
ul-indent: false

View file

@ -56,7 +56,7 @@ fn list_repeat(symbol: Symbol, var_store: &mut VarStore) -> Def {
}
```
In these builtin definitions you will need to allocate for and list the arguments. For `List.repeat`, the arguments are the `elem_var` and the `len_var`. So in both the `body` and `defn` we list these arguments in a vector, with the `Symbol::ARG_1` and` Symvol::ARG_2` designating which argument is which.
In these builtin definitions you will need to allocate for and list the arguments. For `List.repeat`, the arguments are the `elem_var` and the `len_var`. So in both the `body` and `defn` we list these arguments in a vector, with the `Symbol::ARG_1` and `Symvol::ARG_2` designating which argument is which.
Since `List.repeat` is implemented entirely as low level functions, its `body` is a `RunLowLevel`, and the `op` is `LowLevel::ListRepeat`. Lets talk about `LowLevel` in the next section.