12 lines
123 B
Plaintext
12 lines
123 B
Plaintext
let pid = spawn! (fn () -> {
|
|
print! (self ())
|
|
print! (msgs ())
|
|
})
|
|
|
|
send (pid, :foo)
|
|
send (pid, :bar)
|
|
|
|
yield! ()
|
|
|
|
:done
|