Author: Shivam

Sequential Composition in Scala Zio

Reading Time: 3 minutes Overview In this blog we will discuss how the concurrent workflows can be simplified and can be executed in a sequential manner using flatmap and other sequential composition.The flatmap method of ZIO effect represents sequential composition where output of first effect act as input for the second. Further in this blog we will discuss some more operators that can define further workflow. You need to Continue Reading

Monad – Introductory approach using Scala

Reading Time: 3 minutes Overview In this blog, I will try to keep everything beginner-friendly for monad in scala but still, you need some basic understanding of Scala that will help you get along. We will use terms like pure functions, side effects, etc very frequently in this blog so make sure you have a knack for it. Monad? Monad construction performs successive computations, it is an object that Continue Reading

ZIO Fibers: An Introduction

Reading Time: 3 minutes Overview In this blog we will look at what are zio fibers and we will try to build a introductory understanding of the same. Now then, when we talk about functional programming libraries such as zio have a main objective of to deal with expressions that might produce a value along with an effect! ZIO Data Structure Let us consider following code block that is Continue Reading

Case classes in Scala

Reading Time: 3 minutes Overview In this blog post we will look at what are case classes in Scala and how this feature supports functional programming. Case classes have all the properties of normal classes plus properties of its own. We will discuss more in this blog. If you are familiar with basic Scala syntax you’ll be able to follow along, you can refer to official Scala documentation to Continue Reading

Try, Catch, Finally in Scala

Reading Time: 3 minutes Overview In this blog post we will look at exception handling in Scala. More preciesly try, catch and finally keyword in Scala, we will cover how it works, what are its used. In case you are new to programming check out this page to get started. One need to have very basic understanding about Scala syntax to follow along this blog. So, spin up your Continue Reading