[Haskell-beginners] Why do i need to take out the list for this to work