Recent F# Posts

More Posts

In one of the fsharp project that I was part of in early this year, we encountered an interesting scenario where we need to do serialisation of a fsharp record type from the query string (and multi-part form) in Suave, and the out of the box model binding support didn’t suit our requirements. So, we rolled out our own, and the solution came from a library which was not intended to solve this problem.

CONTINUE READING

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

Recent Clojure Posts

More Posts

Hi, In the last blog post, we learned how to implement RESTful APIs using Compojure-API & Toucan. We are going to generalise that example by creating a little abstraction around it. The abstraction that we are going to create is going to help us in creating similar RESTful endpoints for any domain entities with less code. Let's dive in! The Book Entity To abstract what we did there, we need a few more specific implementation.

CONTINUE READING

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

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.