News for hackers. Stuff that matters.
Re:Rust 1.32 released by losvedir on Thursday January 17, 2019 @09:21PM (#18936537)
Elixir has a very similar function, IO.inspect(..), which prints a debug version of its argument and then returns it, very similar to dbg! here. Coupled with Elixir's pipeline operator `|>` which passes the output into the first argument of the next function, it's pretty handy: foo() |> IO.inspect |> bar()

There are no comments on this comment yet.