Re: [elixir-core:12078] [Proposal] Add List.prepend and List.append to easily pipe this operations

2025-06-04 Thread 'Billy Lanchantin' via elixir-lang-core
benjaminschult...@gmail.com good point about `:lists.append/2` being available. But I don't see how you can prepend with `:lists.flatten/2` in a way that's pipe-able. Can you show an example? On Wed, Jun 4, 2025 at 4:53 PM benjamin...@gmail.com < benjaminschult...@gmail.com> wrote: > You can pip

Re: [elixir-core:12078] [Proposal] Add List.prepend and List.append to easily pipe this operations

2025-06-04 Thread benjamin...@gmail.com
You can pipe into append and prepend today with https://www.erlang.org/doc/apps/stdlib/lists.html#append/2 and https://www.erlang.org/doc/apps/stdlib/lists.html#flatten/2 This feels like more of a documentation issue than something missing in the stdlib. On Monday, June 2, 2025 at 10:17:37 PM