Zulip Chat Archive

Stream: mathlib4

Topic: Id vs id as a monad


Eric Wieser (Jul 10 2023 at 20:11):

Currently docs#instULiftableIdTypeIdType is stated about id instead of Id. Is id ever used as a Monad, or does this only really make sense for Id?

Mario Carneiro (Jul 10 2023 at 20:39):

id is not used as a monad to my knowledge. Is there even an instance for it?

Eric Wieser (Jul 10 2023 at 20:40):

I guess ULiftable is used for monads but doesn't actually enforce that use; so maybe id is a porting typo?

Mario Carneiro (Jul 10 2023 at 20:40):

there doesn't seem to be, although I didn't try it with import Mathlib

Mario Carneiro (Jul 10 2023 at 20:41):

seems likely

Eric Wieser (Jul 10 2023 at 20:41):

#5796 currently adds the Id version

Eric Wieser (Jul 10 2023 at 20:41):

Should I delete the id version?

Eric Wieser (Jul 10 2023 at 20:44):

Done


Last updated: Dec 20 2023 at 11:08 UTC