News for hackers. Stuff that matters.
Re:Functional programming is not popular because it is weird... by acdibble on Tuesday September 14, 2021 @05:17AM (#28522157)
Elixir includes IO.inspect[1], which prints a value and then returns it. It makes it easy to insert this function into a pipeline without disrupting the existing logic[2].

[1] https://hexdocs.pm/elixir/1.12/IO.html#inspect/2

[2] https://elixir-lang.org/getting-started/debugging.html

There are no comments on this comment yet.