Skip to content

feat: use BaseIO at MonadLift (ST IO.RealWorld)#772

Merged
Kha merged 1 commit intoleanprover:masterfrom
tydeu:base-io-ref
Nov 9, 2021
Merged

feat: use BaseIO at MonadLift (ST IO.RealWorld)#772
Kha merged 1 commit intoleanprover:masterfrom
tydeu:base-io-ref

Conversation

@tydeu
Copy link
Copy Markdown
Member

@tydeu tydeu commented Nov 9, 2021

This improves type inference for lifting the monad (see, for example, PR #86 of mathlib4). It also just simplifies the instance.

I looked for any other uses of EIO ε that could use cleanup now that BaseIO exists. The only other relevant usage I found was in Lean.Util.Profile. Using BaseIO for profileitIO there could potentially resolve the 'impossible to infer ε concern' mentioned in the comments. However, that is a rather distinct change from this one so I didn't include it here.

@Kha Kha merged commit 7fcfb78 into leanprover:master Nov 9, 2021
@tydeu tydeu deleted the base-io-ref branch November 9, 2021 21:32
bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Nov 11, 2021
Bumps to the Lean 4 nightly from 2021-11-10, and cleans up `Cache.lean` post leanprover/lean4#772.

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
ChrisHughes24 added a commit to ChrisHughes24/lean4 that referenced this pull request Dec 2, 2022
SHA 19091d8f2e537e76a81d1608e011dd4d03f94642

Finished the port

Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants