You can make `int` whatever you want per a module, just by declaring it (`type 
int = ...`). But that won't change types of literals. So then you should avoid 
implicit typing. Yet stdlib of coarse uses `int` (you can declare your `int` in 
`system.int` ot make small wrappers for stdlib modules, which just declare your 
types and then include the module (`include strutils`), but implicit types may 
be used there too). E.g.:
    
    
    type int = int8
    
    var x: int = 8
    echo x.sizeof # -> 1
    var y = 8
    echo y.sizeof # -> 4, 8, ..., `system.int`'s size, platform-dependent
    

Reply via email to