Recent posts


Either is Both

We have fun implementing a Result type in Swift.

Maybe an Enun

We re-implement the Optional type using an Enum.

Maybe a List

We implement the Optional type using a List.

Failure is an Option(al)

We begin to look at alternatives to using Error.

List map/flatMap

We extend our look at Lists from map to flatMap and beyond.

Default init

We correct an earlier issue with default inits.

Building on our Foundation

We build a bunch of functionality on the left fold.

Folding

Exploring the difference between left and right folds.

List

We create list using an enum.

Sets (Structs)

We create a struct and move our functions inside as member methods.

Sets (Free Functions)

We build on our Set example.

Sets

Graham Lee shows us a different way to think about Sets.

Discourse

An experiment in creating in public.

2018