There should be a primitive int / float trait in core / stdlib
This would be useful in cases were you want to use / store a number but don't care about a specific type of number for example: /// add two integers together pub fn add<T: PrimitiveInt>(x: T, y: T) -> T { x + y } This…