[Haskell-beginners] safetail problem

Christian Maeder Christian.Maeder at dfki.de
Wed Jul 13 18:41:18 CEST 2011


Am 13.07.2011 18:31, schrieb Roelof Wobben:
> Oke,
>
> Then I made there a error.
> I want to check if xs is a empty list.
> So it must be if null xs then [] else xs

  "if null xs then [] else xs" still identical to "xs"

C.



More information about the Beginners mailing list