sergiotaborda / lense-lang

The Lense Language Compiler
1 stars 0 forks source link

Default type alias #13

Open sergiotaborda opened 8 years ago

sergiotaborda commented 8 years ago

With the import statement is possible to write type alias

import some.module.Type as MyType

in particular it is possible to use this feature as

import lense.core.math.Int32 as int

this can be a handy short cut for the common types (similar to c#)

Should the fundamental types like numbers , booleans and void be assigned a default type alias ?