Add ReductionSteps
This function is very handy for quickly seeing what is happening inside a Reduce invocation.
Why not using a debugger in that case ?
Why not using a debugger in that case ?
The same reason one would use fmt.Print when one can inspect a value in the debugger; perhaps you don't have a debugger available, perhaps you want to serialize the value, perhaps you want to log it or perhaps you want to do any of the things one might want to do with a slice, aside from just inspecting it in the debugger.
This is a more-or-less standard function available in many programming languages, including Wolfram Language, Clojure, Haskell, F# and OCaml which in my opinion is proof of its usefulness.