F# Discriminated Unions and Reactive Agent Spotting


I’m back to coding during any spare time I have – primarily the train commute. What am I coding? Well for the time being lets just says its a combination of C# and F#. From the last few days of coding its clear the Discriminated Union should be used for internal plumbing, and one should never attempt to use them from C# – unless you want to endure a headache🙂 As to actors, the key to actor usage is in my view identification of what would make a good actor. Actors remind me a little of the early days of UML, where the identification of nouns and verbs was a post conditions to use cases. Likewise actors and events appear to need a similar post condition.

Anyone using the Asynchronous Agents Library (AAL)?

~ by mdavey on October 15, 2010.

3 Responses to “F# Discriminated Unions and Reactive Agent Spotting”

  1. > Anyone using the Asynchronous Agents Library (AAL)?
    A bit.

    • Care to provide a little bit more information?

      • A couple of months ago I wrote a program for image processing – openCV + AAL, based on example from msdn.
        Currently working on a slightly different problem. there is a program/algorithm presented as a graph. And I’m trying to represent this graph as a network of asynchronous agents. In fact – it is a translator from a graph into a network of asynchronous agents.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: