pattern matching
defining factorial function recursively
non-exhaustive patterns example
addVectors without pattern matching
addVectors using pattern matching
extracting components from triple
list head function using pattern matching
retrieve list elements
alternative syntax to match specific list element
function handling lists with only three elements
non-exhaustive pattern
as-pattern breaking up item according to pattern
guards
using guards with functions that take multiple parameters