Zulip Chat Archive

Stream: lean4

Topic: Why is there both Vector and List.Vector?


Geoffrey Irving (Jan 11 2025 at 14:32):

I am uncertain about whether to use docs#Vector or docs#List.Vector, and why there are both of them.

Geoffrey Irving (Jan 11 2025 at 14:33):

Ah, I suppose implementationally the two would be very different (was working on a noncomputable project and forgot briefly).

r.z. Almi. (Jan 11 2025 at 14:56):

i think group affinities has something to do with it.
idk.

Henrik Böving (Jan 11 2025 at 15:13):

Geoffrey Irving said:

Ah, I suppose implementationally the two would be very different (was working on a noncomputable project and forgot briefly).

That is the difference yes

Henrik Böving (Jan 11 2025 at 15:13):

r. Almi. said:

i think group affinities has something to do with it.
idk.

I don't see how this would be related to the issue at hand at all?

Eric Wieser (Jan 11 2025 at 18:38):

Probably we should update the docstring for docs#List.Vector with "List.Vector is to Vector as List is to Array" or similar

Kim Morrison (Jan 12 2025 at 22:28):

#20693


Last updated: May 02 2025 at 03:31 UTC