Zulip Chat Archive

Stream: mathlib4

Topic: Naming of PreservesFiniteLimits.PreservesFiniteLimits


Markus Himmel (Mar 12 2023 at 14:12):

Is it correct that the sole member of the struct docs4#CategoryTheory.Limits.PreservesFiniteLimits should be called preservesFiniteLimits instead of PreservesFiniteLimits? Currently, it's inconsistent with docs4#CategoryTheory.Limits.PreservesLimitsOfShape, where the member is called preservesLimits, and if I understand the style guide correctly, starting with a lowercase letter is correct.

Eric Wieser (Mar 12 2023 at 14:24):

Yes, I agree that it should be lowerCamelCase

Jeremy Tan (Mar 12 2023 at 14:46):

image.png so it should be like this?

Jeremy Tan (Mar 12 2023 at 15:08):

!4#2827

Jeremy Tan (Mar 12 2023 at 15:29):

this is ready to merge

Eric Wieser (Mar 12 2023 at 15:45):

Any reason you tagged it with meta?

Jeremy Tan (Mar 12 2023 at 15:45):

It doesn't look that nice with just one tag

Jeremy Tan (Mar 12 2023 at 15:46):

fine I removed the meta tag

Adam Topaz (Mar 12 2023 at 15:48):

The meta tag is for PRs that have meta (as in metaprogramming) code.

Thomas Murrills (Mar 12 2023 at 16:14):

On mobile, but shouldn’t it also be preservesFiniteColimits (instead of PreservesFiniteColimits) in that file (in the analogous place)?

Jeremy Tan (Mar 12 2023 at 16:19):

Thomas Murrills said:

On mobile, but shouldn’t it also be preservesFiniteColimits (instead of PreservesFiniteColimits) in that file (in the analogous place)?

done

Thomas Murrills (Mar 12 2023 at 16:26):

Do we have a casing linter that can be turned on? :eyes: I mean, that’s kind of built into mathport, but maybe there’s some info when everything’s ported that informs the casing in ways which js occasionally invisible to mathport. It just makes me wonder what other fields might have slipped by…

Jeremy Tan (Mar 12 2023 at 16:27):

On a side note, very few files are being accepted today despite a fairly large haul of ready PRs

Thomas Murrills (Mar 12 2023 at 16:27):

It is a weekend, which might be contributing

Thomas Murrills (Mar 12 2023 at 16:31):

(Also there are relatively few people with merge powers anyway, I believe—so I’d guess times when they happen to be busy will naturally see fewer reviews and merges…I’m not sure we have enough ppl to average out such fluctuations, so to speak. But maybe we do! I haven’t looked at the numbers.)

Eric Wieser (Mar 12 2023 at 16:35):

Jeremy Tan said:

On a side note, very few files are being accepted today despite a fairly large haul of ready PRs

Note that the merge process is more than just someone with merge powers merging everything with a green checkmark; for port PRs, a reviewer has to look at the diff of commits[3:], and check that the porting changes all look reasonable

Adam Topaz (Mar 12 2023 at 16:39):

I wonder if @Matthew Ballard 's neovim setup is the culprit for all the whitespace ;)

Eric Wieser (Mar 12 2023 at 16:57):

I think mathport is to blame too, and/or start_port.sh

Ruben Van de Velde (Mar 12 2023 at 17:57):

Btw, if you want to help getting open pull requests landed, you can do an informal review before the maintainers get to it


Last updated: Dec 20 2023 at 11:08 UTC