Recent F# Posts

More Posts

Hello there! Almost eight years back Tomas Petricek wrote a blog post introducing BlockingQueueAgent and followed it up with another blog post on how to apply it to solve an Image Processing problem using the pipeline concurrency pattern. In this blog post, we are going to learn how to port this example using Hopac's BoundedMb abstraction, aka Bounded Mailbox. Image processing pipeline As defined by Tomas in his blog post, the image processing pipeline works as depicted in the below image.

CONTINUE READING

Hi there! Welcome back to the sixth part of my blog series on concurrent programming in fsharp. In this part, we are going to learn how to deal with state changes while doing concurrent programming through a fun example. Time Bomb Simulator The example that we are going to see is a time bomb simulator. The time bomb transitions through different states as shown below during its lifecycle. The associated fsharp type TimeBomb will have the following signature

CONTINUE READING

Recent Clojure Posts

Hi, In my last blog post on our experiences in using Clojure in production, I mentioned that we used Compojure API and Toucan to implement CRUD APIs. The abstraction that we created using these libraries helped us to create HTTP CRUD APIs for any domain entity in a matter of minutes. In this small blog-post series, I am going to share how we did it. This first part is going to focus on developing a RESTful CRUD APIs for a specific domain entity.

CONTINUE READING

We at Ajira successfully delivered our first project in Clojure recently. It was an impressive outing for the last eight weeks! We were able to deliver some complex features with ease because of the outstanding data-oriented programming features provided by Clojure. This blog post summarizes our experiences. The Problem Statement The Project that we delivered was a Low Code Development Platform where the system administrator configures the way the entire application would look like & behave for the end user.

CONTINUE READING

Books

F# Applied

An in-depth understanding of Web development in F# using Suave

F# Applied II

It helps you to learn how to build a real-world, production-ready, end-to-end web application in F# using the functional programming principles by developing a Twitter clone from scratch.