Tag Archives: Xamarin

How to free state and have fun with an F# Mailbox

Prerequisites A simple understanding of F# A recap of F# Mailboxes: https://fsharpforfunandprofit.com/posts/concurrency-actor-model/ A basic understanding of a sqlite database This post aims to build on the discussion started in the prerequisites. Mailbox processors are a great alternative to use variables and locks. There are many blog other posts on MailboxProcessors, however, few of them mention …

Functional Reactive Programming 101 with Xamarin

This short post aims at exploring functional reactive programming using a simple example by a replacing a mutable variable and callbacks/listeners with an event stream. Creating a standard F# solution Android, Xamarin Studio adds an activity with a button and a mutable counter similar to the following: type MainActivity () = inherit Activity () let …