mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-23 11:43:08 +03:00
7 lines
99 B
Idris
7 lines
99 B
Idris
|
module LetInDo
|
||
|
|
||
|
letInDo : Monad m => m Int
|
||
|
letInDo = do
|
||
|
y <- pure 10
|
||
|
let x = 5 in pure $ y + x
|