Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ReductionSteps #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add ReductionSteps #76

wants to merge 1 commit into from

Conversation

olavfosse
Copy link

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

This function is very handy for quickly seeing what is happening
inside a Reduce invocation.
@samber
Copy link
Owner

samber commented Apr 11, 2022

Why not using a debugger in that case ?

1 similar comment
@samber
Copy link
Owner

samber commented Apr 11, 2022

Why not using a debugger in that case ?

@olavfosse
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants