2024-10-12 15:39:09 -05:00
|
|
|
any := fn($Expr: type): Expr {
|
|
|
|
return @intcast(@eca(3, 4))
|
2024-09-13 16:41:31 -05:00
|
|
|
}
|
2024-08-29 15:37:49 -05:00
|
|
|
|
2024-10-12 15:39:09 -05:00
|
|
|
range := fn($Expr: type, min: Expr, max: Expr): Expr {
|
2024-10-15 15:43:23 -05:00
|
|
|
// wtf is this
|
|
|
|
return @intcast(@as(int, @eca(3, 4)) % @as(int, @intcast(max) - @intcast(min)) + 1 + @intcast(min))
|
2024-08-29 15:37:49 -05:00
|
|
|
}
|