[Haskell-beginners] Using output of head in data constuctor