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.
Last updated: Dec 20 2023 at 11:08 UTC