[0] it's not very useful either if you have pattern matching on lists, you can just match the list directly.
The DOM example further down the page, which does no result checking on queries that can absolutely fail to find an element, makes me very skeptical of this claim.
Presumably the head function returns a value of type Optional/Maybe, that needs to be pattern matched against statically.