Open Twigonometry opened 2 years ago
Allow supplying multiple function names in command line parameter/pp file. pp
is default name if none supplied. User sessions could include, for instance, pp_role
and pp_user
. Call all of these functions when pretty-printing.
May need to have separate places to insert these in boilerplate code.
Alternative approach may be making pp a type class and a user can define an instantiation of it, but this is more complicated
Users may have two types they wish to pretty-print, such as in the case of the RBAC (pretty-printing users and roles). Allow supplying two pp functions