min...@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 <
> 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
And we can’t forget about https://hexdocs.pm/elixir/List.html#insert_at/3
On Thursday, June 5, 2025 at 9:26:16 AM UTC+2 benjamin...@gmail.com wrote:
> [el|list] is pipeable as well, and if you are working with Erlang
> strings/binaries you can use
> https://www.erlang.org/doc/ap