DEV Community

Discussion on: OCaml for Business

Collapse
 
epsi profile image
E.R. Nurwijayadi

Good article. Thank you for posting.

I'm a beginner in OCaml. To help more beginner, I have made a working example of concurrency using actor pattern with source code in github.

🕷 epsi.bitbucket.io/lambda/2020/11/0...

First the receiver, using mutable reference.

Receiver

Then sender. And finally run receiver in separate thread.

Sender

I hope this could help other who seeks for other case example.

🙏🏽

Thank you for posting with general introduction..