Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

Generic Types #45

Open
5 tasks
sunjay opened this issue Feb 26, 2017 · 0 comments
Open
5 tasks

Generic Types #45

sunjay opened this issue Feb 26, 2017 · 0 comments

Comments

@sunjay
Copy link
Owner

sunjay commented Feb 26, 2017

Depends on #16 before this can be implemented. Probably need #44 before this is particularly useful.

  • allow definition of generic type parameters in functions, structs (User Defined Structs #39), enums (Tagged Unions / Enums #41), etc.
  • generic type bounds
  • Remove ItemType::Any and replace any usages with type bounds
  • Make sure types work at declaration and don't have to be ordered in a specific way (you can order types in any order in the file)
  • Defaults for generic types
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant