F Sharp (programming language): Difference between revisions

Content deleted Content added
Tags: Mobile edit Mobile web edit
Tags: Mobile edit Mobile web edit
Line 538:
 
===Agent programming===
F# supports a variation of the [[Actor model|Actoractor]] programming model through the in-memory implementation of lightweight asynchronous agents. For example, the following code defines an agent and posts 2 messages:
 
<syntaxhighlight lang="fsharp">