mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Give List.first the right name
This commit is contained in:
parent
a399614824
commit
e78b126207
1 changed files with 2 additions and 2 deletions
|
@ -181,14 +181,14 @@ fn list_first(var_store: &VarStore) -> Def {
|
|||
|
||||
let expr = Closure(
|
||||
var_store.fresh(),
|
||||
Symbol::LIST_GET,
|
||||
Symbol::LIST_FIRST,
|
||||
Recursive::NotRecursive,
|
||||
args,
|
||||
Box::new((no_region(body), var_store.fresh())),
|
||||
);
|
||||
|
||||
Def {
|
||||
loc_pattern: no_region(Identifier(Symbol::LIST_GET)),
|
||||
loc_pattern: no_region(Identifier(Symbol::LIST_FIRST)),
|
||||
loc_expr: no_region(expr),
|
||||
expr_var: var_store.fresh(),
|
||||
pattern_vars: SendMap::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue