@PatrickStevens For low level functions like Nest it is unclear what purpose high level code would serve. Nest[...] := .... what would be on the r.h.s.? The function is not written in Mathematica code.
@Pickett I was just wondering how it was done - is it automatic for non-Mathematica code, then, but all other functions can be spelunked with PrintDefinitions?
Note: I put Simon's implementation on GitHub. Contributions welcome!
When trying to read the definition of already defined (package or built-in) symbols using Information or FullDefinition, the biggest inconvenience is that lots of distracting private context names appear in front of all sym...
@PatrickStevens The second answer in the question linked to by halirutan is by the developer of PrintDefinitions. It says that it only show upvalues, downvalues, subvalues, ownvalues and attributes; so with functions that don't have high level definitions it is automatic in the sense that there are no definitions to show. So I think the answer to your question is that all functions can be spelunked and there is no way to prevent that.
I work on Windows 10 pro and I installed the Mathematica 10.2 on my laptop. However, when I open the Wolfram Demostration Project, the Chrome browser and Mircosoft Edge cannot run the demo on the sites.
For instsnce, Chrome browser
Mircosoft Edge
However, when I open the Internet Explore, this time the wolfram demo could be ran automatically.
@PlaysDice It does what it's name suggests: prints definitions of a symbol - though I forgot to add that it is in the "GeneralUtilities`" package; see here.
Ahh, I see there was already an explanation by others.
@ShutaoTANG Maybe Chrome supported old browser plugins (if it worked for you before, I don't know how else to explain it), officially the don't support plugins like the CDF player. Other browsers are phasing it out, and this is probably what you are seeing with Microsoft Edge.
@TheToad Each time someone clicks on a link his IP is registered as having clicked on that link, and the popularity ranking is the number of visitors (in this sense) who have clicked on a certain link.
@ShutaoTANG Neither Chrome, nor Edge support NPAPI plugins anymore. Chrome might have a switch to turn it back on ... otherwise just use Firefox while they still support it.
@Pickett Good, so I don't have to worry about clicking too much :)
I'm thinking in particular of this very recent question, where the OP has constructed a For loop that actually solves their problem, except that instead of using AppendTo, they are using Append, and so of course they are falling victim to a common new user pitfall.
I am tempted, of course, to vo...
I'm trying to build a tool to construct a color distance metric from own visual judgement.
It repeatedly gives two large random color patches, and ten small ones, randomized interpolations between those, overlapping with both. The goal is to pick one that is "at equal distance" from both large patches.
A very simple test case, measuring linearity of greyscale values, seems to reconstruct the perceptual response curve surprisingly efficiently on basis of this data.
As summer wraps up and students are hitting the books once again here in the US, it’s fun to explore how the Wolfram Language can be used in the classroom to analyze texts. Take the beloved classic Alice in Wonderland by Lewis Carroll as an example. In just a few lines of code, you can [...]