Link to Snippet

Simple NumericLiteral example

You can use numeric literals, constant expressions and operator overloading to make your own arithmetics. Useful in DSL languages.
With NumericLiterals, you can use any of Q, R, Z, I, N, G.
Basic syntax:
[Number][Letter] will forward the call to the type NumericLiteral[Letter] to FromInt32 [Number]
(or FromInt64 or FromString...)