vein-lang / vein

🔮⚡️Vein is an open source high-level strictly-typed programming language with a standalone OS, arm and quantum computing support.
https://vein-lang.org
Other
48 stars 6 forks source link

Opaque params #179

Open 0xF6 opened 2 years ago

0xF6 commented 2 years ago
public foobar(some x: IHookable): void
{ /* ... */ }

->

public foobar<T>(x: T): void when T is IHookable
{ /* ... */ }

Blocked by #36