likes::[String]->Stringlikes[]="no one likes this"likes[a]=a++" likes this"likes[a,b]=a++" and "++b++" like this"likes[a,b,c]=a++", "++b++" and "++c++" like this"likes(a:b:xs)=a++", "++b++" and "++(show$lengthxs)++" others like this"
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Some simple pattern matching with Haskell.