Timeline for How can we create a FunctionQ function?
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 8, 2020 at 4:29 | comment | added | Michael E2 |
Search this site for ValidQ . People share insights here, which come from a variety of sources. I learned about ValidQ from a post on this site.
|
|
Jun 8, 2020 at 1:58 | comment | added | GarouDan |
Indeed this is very interesting, we can get a lot of insights. But it still a mystery for me how @JsonB was able to find the ValidQ from the functions definitions. Specially when he says: Observing the fact that valid Function objects seem to be marked as ValidQ we can use
|
|
Jun 8, 2020 at 1:31 | comment | added | CA Trevillian |
@GarouDan my deepest apologies. You want to use ”GeneralUtilities`” within Needs , as described here.
|
|
Jun 8, 2020 at 1:22 | comment | added | CA Trevillian |
@GarouDan try exploring the private context, so using ”System`Private`*” within Names . I had given the truncated example in an attempt to be generalized, and also laziness when responding on mobile. As for using the search in the documentation center, I doubt you would find something of the nature of ValidQ . However, you might find some useful information using the developer tools to print the definition of the function/symbol/context you are interested in.
|
|
Jun 8, 2020 at 1:16 | comment | added | GarouDan |
@CATrevillian, unfortunately Names[“System *”]` does not contain any reference to ValidQ . Also using the Mathematica search nothing appears. About searching here, I tried "spelunking tools" and it seems interesting, but I didn't find yet a place with a collection of these kind of tools to use. It would be very useful for me.
|
|
Jun 7, 2020 at 20:34 | comment | added | CA Trevillian |
@GarouDan you can use techniques such as Names[“System`*”] or related to find those sorts of things. Also try searching “spelunking tools” in the search bar here. And looking into the developer tools would be helpful, too.
|
|
Jun 7, 2020 at 17:23 | comment | added | GarouDan |
One other thing that I'd like to ask. How did you find about System PrivateValidQ ? I'd like to use this approach to find how the things are defined in Mathematica in the future?
|
|
Jun 7, 2020 at 16:22 | vote | accept | GarouDan | ||
Jun 7, 2020 at 16:22 | comment | added | GarouDan | I think for my purposes it works fine ;), only one case above didn't work (please see my edit). If you know how could I solve it, please let me know ;) | |
Jun 7, 2020 at 15:44 | comment | added | GarouDan | Oh, cool, clever solution. I'll check and return ;) | |
Jun 7, 2020 at 15:41 | history | answered | Jason B. | CC BY-SA 4.0 |