Ad
  • Default User Avatar

    From Data.List documentation:

    In the result of xs \\ ys, the first occurrence of each element of ys in turn (if any) has been removed from xs.

    In my solution, the first parameter to \\ is the alphabet set, thus punctuations and numbers are ignored, as they don't exist within the alphabet set.