leanprover / lean4

Lean 4 programming language and theorem prover
https://lean-lang.org
Apache License 2.0
4.74k stars 427 forks source link

fix: missing (type := true) in reader monad example #6196

Open jsr-p opened 1 day ago

jsr-p commented 1 day ago

This PR adds missing (types := true) to #reduce example in Readers example. Since 4.10 the (types := true) is necessary for the ReaderM Environment String type to be reduced into Environment → String.

leanprover-community-bot commented 1 day ago

Mathlib CI status (docs):