| doErrorMsg.lean:3:2-3:13: error: type mismatch | |
| IO.getStdin | |
| has type | |
| BaseIO IO.FS.Stream : Type | |
| but is expected to have type | |
| IO PUnit : Type | |
| doErrorMsg.lean:15:19-15:21: error: type mismatch | |
| f1 | |
| has type | |
| ExceptT String (StateT Nat Id) Nat : Type | |
| but is expected to have type | |
| ExceptT String (StateT Nat Id) String : Type | |
| doErrorMsg.lean:19:19-19:24: error: type mismatch | |
| f2 10 | |
| has type | |
| ExceptT String (StateT Nat Id) Nat : Type | |
| but is expected to have type | |
| ExceptT String (StateT Nat Id) String : Type | |
| doErrorMsg.lean:23:10-23:12: error: type mismatch | |
| f2 | |
| has type | |
| Nat → ExceptT String (StateT Nat Id) Nat : Type | |
| but is expected to have type | |
| ExceptT String (StateT Nat Id) ?m : Type | |
| doErrorMsg.lean:24:2-24:4: error: type mismatch | |
| f1 | |
| has type | |
| ExceptT String (StateT Nat Id) Nat : Type | |
| but is expected to have type | |
| ExceptT String (StateT Nat Id) String : Type | |
| doErrorMsg.lean:28:13-28:18: error: application type mismatch | |
| Prod.mk false | |
| argument | |
| false | |
| has type | |
| Bool : Type | |
| but is expected to have type | |
| Nat : Type |