, . "" , . , . myIsInfixOf :
myIsInfixOf :: (Eq a) => [a] -> [a] -> Bool
myIsInfixOf (a:as) [] = False
myIsInfixOf listA listB | helpFunction listA listB = True
| otherwise = myIsInfixOf listA (tail listB)
, helpFunction, - .
, , listB, listA listB. , , , , . , listA - helpFunction, , , helpFunction myIsInfixOf.
myIsInfixOf, , any tails. helpFunction - , :
helpFunction (x:xs) (y:ys) = (x == y) && helpFunction xs ys