title: Last element in Scala List?
body: <p>In Scala, List is implemented as linked list. And it has 2 parts, head and tail. Last cell in List contains Nil.</p>
  
  <p>Nil in Scala is itself a singleton and extends List[Nothing],
  <a href="http://www.scala-lang.org/api/2.7.0/scala/Nil$object.html" rel="nofollow noreferrer">as documented here</a></p>
  
  <p>As Nil is a singleton, does it mean end element of all List instances in Scala has same object.</p>