HelpF`: Pull Mathematica Options[] from a Webel HelpF` options superset

Gallery
Tutorial
Click on the image to view it full size

A Webel options Association for a function can be extracted as a List of Rules for use with Wolfram Language Options for the registered function.

You might be asking "Why not do it the other way round? Why not create the Webel options Rules from the core Wolfram Language Options?". The answer is that the Webel options contain more information such as an optional warning, tip, label, "type" indicator etc. They are a proper superset of the Wolfram Language Options. Whilst one can at least use ::usage for a Symbol used as a Wolfram Language option to create the equivalent of the '$k$help' for a Webel option help Rule, equivalents to the other help holders are not available.

Groups of Webel options Associations can be shared amongst various functions (the same is true of course for core Wolfram Language options Rule lists). But the Webel options go further; their values in a context can be looked up for both a registered function AND for a registered method of an MTools class or a Webel Abstract Data Type (ADT) pseudo class as we'll see in later slides about the HelpO` package. Recall that per method Options[] don't seem to be possible either with MTools or with Webel ADT TagSetDelayed "methods".

If a function as been added to the HelpF` registry using addFunction a Webel options Association or a List of Rules for use with Wolfram Language Options can be obtained easily via the registry as shown in the next slide.

Up next
Notes
Snippets (quotes/extracts)
Visit also
Visit also (backlinks)
Related slides (includes other tutorials)
Related slides (backlinks, includes other tutorials)