You could use `headOption` here, and then use arrow `<-`. Otherwise this would throw.