mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00
Fix space positioning typo
This commit is contained in:
parent
072a6bd002
commit
2cbfef490a
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue