Sure thing, though I don’t have the time to explain folds in laymans terms so that’s a bit of homework on you.
isNumWinner is a function which uses a right fold to go through the list of winning numbers and check that it is one of them, or return False.
isWinner then is a right fold that takes every number in the provided ticket and then calls isNumWinner on them to verify each numbers returns true. If they all return true then it returns true as well.
Check out folding in haskell and it should make a lot more sense to you: https://wiki.haskell.org/Foldr_Foldl_Foldl’