mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-06 06:58:45 +00:00
15 lines
222 B
Text
15 lines
222 B
Text
|
|
alias T1 = Int;
|
||
|
|
|
||
|
|
type (T2 : #A #B #C);
|
||
|
|
|
||
|
|
// Define file level abstract type
|
||
|
|
|
||
|
|
T2 =
|
||
|
|
| Int
|
||
|
|
| Float
|
||
|
|
| Complex;
|
||
|
|
|
||
|
|
// Compile module (functions, types, ...) for T2 = Int, Float, Complex
|
||
|
|
|
||
|
|
// ?? file level <-> module level ??
|