lo icon indicating copy to clipboard operation
lo copied to clipboard

Add ReductionSteps

Open olavfosse opened this issue 3 years ago • 3 comments

This function is very handy for quickly seeing what is happening inside a Reduce invocation.

olavfosse avatar Mar 24 '22 21:03 olavfosse

Why not using a debugger in that case ?

samber avatar Apr 11 '22 22:04 samber

Why not using a debugger in that case ?

samber avatar Apr 11 '22 22:04 samber

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.

olavfosse avatar Apr 12 '22 17:04 olavfosse