Zulip Chat Archive

Stream: lean4

Topic: MonadLift Id m instance


Eric Wieser (Dec 08 2023 at 16:26):

Is this a sensible instance?

instance [Pure m] : MonadLift Id m where
  monadLift f := pure <| Id.run f

If so, does it belong in core? Std? Mathlib?

Eric Wieser (Dec 08 2023 at 16:26):

(cc @Scott Morrison, as this was in one of your PRs and I found I needed it in my refactor too)

Scott Morrison (Dec 10 2023 at 01:01):

I would put this in Std.

James Gallicchio (Jun 14 2024 at 04:40):

did this end up in std now batteries? I haven't searched very hard but #synth isn't coming up with anything

Kim Morrison (Jun 15 2024 at 07:04):

Probably not!


Last updated: May 02 2025 at 03:31 UTC