Idris2/tests/idris2/error/perror028/LetInDo.idr
2023-09-07 14:57:22 +01:00

7 lines
99 B
Idris

module LetInDo
letInDo : Monad m => m Int
letInDo = do
y <- pure 10
let x = 5 in pure $ y + x