mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Fix comment definitions for List.keepIf and List.append
This commit is contained in:
parent
13a644b03c
commit
90a3771584
2 changed files with 3 additions and 3 deletions
|
@ -783,9 +783,9 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
||||||
)
|
)
|
||||||
});
|
});
|
||||||
|
|
||||||
// map : Attr * (List a)
|
// keepIf : Attr * (List a)
|
||||||
// , Attr Shared (a -> Attr * Bool)
|
// , Attr Shared (a -> Attr * Bool)
|
||||||
// -> Attr * (List b)
|
// -> Attr * (List a)
|
||||||
add_type(Symbol::LIST_KEEP_IF, {
|
add_type(Symbol::LIST_KEEP_IF, {
|
||||||
let_tvars! { a, star1, star2, star3 };
|
let_tvars! { a, star1, star2, star3 };
|
||||||
|
|
||||||
|
|
|
@ -495,7 +495,7 @@ pub fn list_get_unsafe<'a, 'ctx, 'env>(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// List.push List elem, elem -> List elem
|
/// List.append : List elem, elem -> List elem
|
||||||
pub fn list_append<'a, 'ctx, 'env>(
|
pub fn list_append<'a, 'ctx, 'env>(
|
||||||
env: &Env<'a, 'ctx, 'env>,
|
env: &Env<'a, 'ctx, 'env>,
|
||||||
original_wrapper: StructValue<'ctx>,
|
original_wrapper: StructValue<'ctx>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue