When the built-in formatters will become more numerous the current handling is somewhat cumbersome. Instead of mapping names (in _builtin_formatters) to firstlevel functions all functions in a certain namespace should be automatically exposed as built-in formatters.
That means a slight change to the formatter() function (change to the root node to look for) but also changing the namespace for all formatters that have already been made available like that (including all uses, both in the package and in my client library).
When the built-in formatters will become more numerous the current handling is somewhat cumbersome. Instead of mapping names (in
_builtin_formatters
) to firstlevel functions all functions in a certain namespace should be automatically exposed as built-in formatters.That means a slight change to the
formatter()
function (change to the root node to look for) but also changing the namespace for all formatters that have already been made available like that (including all uses, both in the package and in my client library).