Zulip Chat Archive
Stream: general
Topic: open-locale nat makes #check output change
Kevin Buzzard (Dec 27 2020 at 14:00):
import ring_theory.power_series.basic
#check power_series.coeff_mul
-- power_series.coeff_mul : ∀ (n : ℕ) (φ ψ : power_series ?M_1),
open_locale nat
#check power_series.coeff_mul
--power_series.coeff_mul : ∀ (n : ℕ) («φ» ψ : power_series ?M_1),
A random French quote appears. Is this anything to worry about? I'm manipulating power series involving exp so factorials show up (that's why I open_locale nat
ed).
I have no idea how to find out what open_locale nat
does, all I know is that it gives me access to the !
notation.
Eric Wieser (Dec 27 2020 at 14:03):
Searching for in nat
finds its notation for src#nat.totient
Eric Wieser (Dec 27 2020 at 14:03):
Perhaps there's a better way to show everything in a locale though
Rob Lewis (Dec 27 2020 at 16:56):
Eric Wieser said:
Perhaps there's a better way to show everything in a locale though
The docs suggest run_cmd print_localized_commands [`nat]
Eric Wieser (Dec 27 2020 at 16:57):
The docs for localized
, presumably?
Eric Wieser (Dec 27 2020 at 16:57):
It might be cool if doc-gen
could show those, although I'm not sure where best to show them
Bryan Gin-ge Chen (Dec 27 2020 at 17:47):
We could have a separate page showing all the locales.
Eric Wieser (Dec 27 2020 at 17:48):
That's reasonable
Eric Wieser (Dec 27 2020 at 17:49):
I assume this is a relatively straightforward task of getting print_localized_cmds to output json
Eric Wieser (Dec 27 2020 at 17:49):
Is there a zulip linkifier for the doc version of src#print_localized_cmds?
Bryan Gin-ge Chen (Dec 27 2020 at 17:52):
Not sure what you mean... docs#print_localized_commands ?
Bryan Gin-ge Chen (Dec 28 2020 at 17:16):
Regarding documentation of the different locales, I was about to open a new issue and I found doc-gen#94 by @Floris van Doorn.
Last updated: Dec 20 2023 at 11:08 UTC