with headLength=1 its like list.head and list.tail...
# getting-started
h
with headLength=1 its like list.head and list.tail in scala