15: Maybe, Just, and Nothing
Nov 30, 2017 • 30 min
Maybe is a container, union type, type constructor. So, um, what does that mean? In Elm, null and undefined are not valid types, so what do we do when we might not have something? Let’s figure it out, and when it’s useful.