I was wondering if one could create a data constructor which instead of taking a specific type could take any of a given class.
So instead of
data Container = ContainerI Int | ContainerF Float
Something like
Container::(Num a)=>a
data Container = Container a