Hacker News new | ask | show | jobs
by stefanos82 979 days ago
How about overloading `as` operator instead and use `alias` in place of `type`?

Something like `alias Numeric as int|float;`

1 comments

Nice