This would make it easier to expose them at the web layer, rather than having to add type specific code paths, in particular I'm thinking of meta programming such as Elixir macros/protocols.
I know a change like this is crazy at this stage, but putting it out there for discussion.
For the use cases I have in mind, an alternative would be to wrap each type but that's a lot of bloat.
for example -
dot_set.erl
:Rather than :
Instead do :
This would make it easier to expose them at the web layer, rather than having to add type specific code paths, in particular I'm thinking of meta programming such as Elixir macros/protocols.
I know a change like this is crazy at this stage, but putting it out there for discussion.
For the use cases I have in mind, an alternative would be to wrap each type but that's a lot of bloat.