Use namespace in Stan lang

Does it make sense to expose math repo’s sub-namespace in stan language? Effectively this could serve a sort of package system for (non-higher-order) math functions, so that with some function foo in

namespace stan {
    namespace math {
         namespace bar {
...

in Stan one can use

   bar::foo(...);

I hope this can bring up a conversation of designing a package management system.

2 Likes