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

In the last blog post, we bootstrapped the Clojure project using Mount and Aero. We are going to continue from we left off and configure database connection pooling, migration & Reloaded Workflow in this blog post. This blog post is a part 2 of the blog series Building an E-Commerce Marketplace Middleware in Clojure. Configuring Hikari-CP Let’s get started by adding the hikari-cp, a Clojure wrapper to HikariCP, and the Postgres driver dependencies in the project.

CONTINUE READING

In this blog post, we are going to focus on bootstrapping the Clojure project using Mount & Aero and interacting with the application using the REPL. This blog post is a part 1 of the blog series Building an E-Commerce Marketplace Middleware in Clojure. Getting Started Let’s get started by creating a new app project using Leiningen and give it a project name wheel. lein new app wheel Reading Configuration To manage the application-level configuration, we are going to use Aero.

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.