Vale icon indicating copy to clipboard operation
Vale copied to clipboard

Generics

Open Verdagon opened this issue 3 years ago • 2 comments

Verdagon avatar May 31 '21 14:05 Verdagon

I feel your title and description were too generic, could you elaborate further? lol

MoxyFoxy avatar Jun 03 '21 01:06 MoxyFoxy

I really need to keep in mind that others read these issues hahah

Basically, I want to:

  • add concepts to our current template-based system (this is mostly there today, funny story)
  • do type-checking on these functions ahead of time, except for lambdas
  • be able to opt-out of the ahead-of-time type-checking, perhaps with a "template" keyword

Later on, probably not as part of this, we would want to have a mode to monomorphize or not.

Verdagon avatar Jun 03 '21 17:06 Verdagon

Done as of https://github.com/ValeLang/Vale/commit/93eb8e140bbbda3a8f47099b3215c5eb700c90f6!

Verdagon avatar Mar 26 '23 21:03 Verdagon