lean4-htt/tests/lean/run/unif_issue2.lean
Leonardo de Moura 5770edbffd feat: workaround for the constant approximation issue
@Kha It seems to cover all the scenarios we discussed earlier today.
2020-03-06 16:47:02 -08:00

13 lines
332 B
Text

import Init.Lean
new_frontend
open Lean
#check @StateT.run Nat Id Nat (let f := fun (x : Unit) => pure 0; f ()) 0
#check Id.run $ StateT.run (let x := fun _ => pure 0; x ()) 0
#check @StateT.run Nat Id (List Nat) (let x := fun _ => pure [0]; x ()) 0
#check @Unhygienic.run Syntax $ let x := fun _ => pure Syntax.missing; x ()