I am trying the below code and I can find head and tail methods in scala documentation for Vector (https://www.scala-lang.org/api/2.9.2/scala/collection/immutable/Vector.htm