What is the purpose of "do!" notation in F#?
- by Yacoder
I'm a beginner in F#, so it's a simple question and maybe a duplicate, but I couldn't find the answer anywhere...
I'm reading this LOGO DSL implementation and I don't understand, what is the meaning of the "do!" notation in here:
this.Loaded.Add (fun _ ->
async {
do! Async.Sleep 200
for cmd in theDrawing do
do! this.Execute(cmd)
} |> Async.StartImmediate
)
Can you help?