parent
e7c8baaef5
commit
0fcb6495d6
1 changed files with 6 additions and 0 deletions
6
tests/lean/run/6957.lean
Normal file
6
tests/lean/run/6957.lean
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
set_option linter.unusedVariables false
|
||||
|
||||
example (x : Nat) : Option Nat := do
|
||||
let ⟨a, ha⟩ ← Option.attach (guard (x < 10))
|
||||
return 0
|
||||
|
||||
Loading…
Add table
Reference in a new issue