Tag: functional-programming

How an applicative functor can help us validate forms

Validating a form 'functional style'

Transducers in javascript

Digging a little bit into the world of transducers (in javascript)

An introduction to Monads (in js)

Trying to explain monads without loosing our minds

What are these applicative functors you speak of?

let's use javascript to learn some applicatives for a greater good

Tagged unions and Fantasy Land

Let's use tagged unions to explore the Fantasy Land specification

Reduce: how and when

Let's identify the best use case for reduce and maybe learn something else in the way

Learning functional programming: A roadmap

Table of content for the series: Functional programming for your everyday javascript

Pure functions and why they are a good idea

Answering the question what do we gain by using pure function?

Functional programming for your everyday javascript: Composition techniques

An introduction to common patterns used in functional programming

Functional programming for your everyday javascript: Partial application

Solving the mystery of why sometimes the callback goes first

Functional programming for your everyday javascript: The power of map

Let's see what makes map so special

Dealing with side effects and pure functions in javascript

A few ideas of how to use pure functions in the real world

Lenses A.K.A. composable getters and setters

Let's build a mostly adequate lenses implementation

Functional programming for your everyday javascript: Using a Maybe

We'll see how an implementation of the Maybe Type can influence how we write code