If you defered `List.rev` until the `lastIdent` part, you actually don't need to traverse the whole list using `Seq.last` to get the last element.