mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Rename List.push to List.append
This commit is contained in:
parent
0b078783fd
commit
759f1289d6
11 changed files with 29 additions and 29 deletions
|
@ -510,9 +510,9 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
),
|
||||
);
|
||||
|
||||
// push : List elem -> elem -> List elem
|
||||
// append : List elem -> elem -> List elem
|
||||
add_type(
|
||||
Symbol::LIST_PUSH,
|
||||
Symbol::LIST_APPEND,
|
||||
SolvedType::Func(
|
||||
vec![list_type(flex(TVAR1)), flex(TVAR1)],
|
||||
Box::new(list_type(flex(TVAR1))),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue