diff --git a/compiler/builtins/src/unique.rs b/compiler/builtins/src/unique.rs index bdf5cf22e1..d8947c60ae 100644 --- a/compiler/builtins/src/unique.rs +++ b/compiler/builtins/src/unique.rs @@ -783,9 +783,9 @@ pub fn types() -> MutMap { ) }); - // map : Attr * (List a) + // keepIf : Attr * (List a) // , Attr Shared (a -> Attr * Bool) - // -> Attr * (List b) + // -> Attr * (List a) add_type(Symbol::LIST_KEEP_IF, { let_tvars! { a, star1, star2, star3 }; diff --git a/compiler/gen/src/llvm/build_list.rs b/compiler/gen/src/llvm/build_list.rs index abe66c131e..9ad485e540 100644 --- a/compiler/gen/src/llvm/build_list.rs +++ b/compiler/gen/src/llvm/build_list.rs @@ -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>( env: &Env<'a, 'ctx, 'env>, original_wrapper: StructValue<'ctx>,