# Changing and Re-Arranging

Any time I go to a wedding or some kind of family gathering where we take a lot of pictures, it can seem like it goes on for a while. It seems like we have to take a picture with every different combination of people in it. …

# Tracking Success with Metrics

In my first year out of college I decided it would be really great if I got into shape. And I forget how I came across the Insanity workout series, which is similar to P90X if you’ve heard of that. …

# Transposing Rows

In our last article we explored how `groupBy` could allow us to arrange a Matrix (represented as an Array) into its rows.

`myArray :: Array (Int, Int) Double)myArray = listArray ((0, 0), (1, 1)) [1..4]rows = groupBy (\((a, _), _) ((b, _), _) -> a == b) (assocs…`

# “Group” Theory

Last time around we saw the function “intercalate”. This could take a list of lists, and produces a single list, separated by the list from the first argument. But today, we’ll take a look at a couple functions that work in reverse. …

# Creating a Baseline

Whenever you see a commercial for some kind of diet or exercise program, there’s one trope that the ad writers will always use, and this is the “before and after” picture. They have a picture of the person before the diet plan, or before they start working out, and typically…

# In the Middle: Intersperse and Intercalate

This week we continue looking at some useful list-based functions in the Haskell basic libraries. Last time around we looked at boolean functions, this time we’ll explore a couple functions to add elements in the middle of our lists.

These functions are `intersperse` and `intercalate`:

`intersperse :: a -> [a]…`

# Booleans in Lists

As announced last week, this year we’ll be doing short form articles twice a week highlighting useful library functions. The focus area for the month of January is simple list functions. We’ll start with some simple functions that interact with booleans.

Like any other language, Haskell has operators for dealing…

# Monday Morning Learning: An Introduction

You may or may not know me from Monday Morning Haskell where I’ve been writing about a programming language called Haskell for about five years now. But I’ve been wanting to branch out a bit and try some new things in addition to my programming work. …

# New in ‘22!

Welcome to a new year of Monday Morning Haskell! I wanted to start the year off with a quick overview of my plans for the year. …

# Last Day for Haskell Brain!

It’s the last Monday of 2021, so of course this will be my last post of the year, which you can also watch on YouTube. This year was definitely a bit different from previous years. I focused a lot more on three things. The first was video content. I started…