Skip to content

Conversation

@ettersi
Copy link
Contributor

@ettersi ettersi commented May 21, 2020

This should make the list of possible type parameters easier to find and easier to parse.

See also https://discourse.julialang.org/t/using-type-system-for-different-coordinate-systems/39722.

This should make the list of possible type parameters easier to find and easier to parse. 

See also https://discourse.julialang.org/t/using-type-system-for-different-coordinate-systems/39722.
@ettersi
Copy link
Contributor Author

ettersi commented Dec 15, 2020

Bump

Copy link
Member

@StefanKarpinski StefanKarpinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the whole this feels like a somewhat random list of things. The first addition is ok since it's clearly not meant to be definitive — it just gives some examples and then refers to another section. The second addition is much more problematic since it gives a seemingly comprehensive list of what types can be parameterized by but the list is not actually comprehensive. If we're going to have a list here, it should either clearly be a list of examples or it should be a comprehensive description of what can be used as a parameter.

Co-authored-by: Stefan Karpinski <stefan@karpinski.org>

All declared types (the `DataType` variety) can be parameterized, with the same syntax in each
case. We will discuss them in the following order: first, parametric composite types, then parametric
All declared types (the `DataType` variety) can be parameterized by the following objects.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
All declared types (the `DataType` variety) can be parameterized by the following objects.
All declared types (the `DataType` variety) can be parameterized by the following objects (as well as a few other, more niche objects).

@ettersi
Copy link
Contributor Author

ettersi commented Dec 16, 2020

Ok, so two options to resolve this:

  • Make the list complete. I don't know what is missing, so I would need help figuring this out.
  • Change the paragraph above the list as suggested.

The first option seems more ideal to me, but the second one is the easy way out.

@adienes adienes closed this Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants