f x : xs = Nothing
If I am correct about this, doesn't it take a list and passes in the head of the list as x.
I later found out that it is used to prepend to a list.
1 : [2, 3, 4]
Isn't this nearly the opposite.
Can someone explain this to me?
This post has been edited by salazar: 11 August 2013 - 03:20 PM