LIST COMPREHENSIONS & CONSTRAINT PROGRAMMING — Haskell List Comprehension [(x, y) | x <- [50..100], y <- [1..99], x mod
7 == 3, x mod
y == 42] — RESULT: [(87,45),(94,52)]
— Haskell List Comprehension: INFINITE EDITION [(x, y) | x <- [50..], y <- [1..99], x mod
7 == 3, x mod
y == 42] — RESULT: [(87,45),(94,52),(101,59),(108,66),(115,73),(122,80),(129,87), (136,47),(136,94),(150,54),(164,61),(171,43),(178,68),(192,50),(192,75), (206,82),(213,57),(220,89),(234,48),(234,64),(234,96),(255,71),(262,44), (262,55),(276,78),(290,62),(297,51),(297,85),(318,46),(318,69)… …and so on, FOREVER, and while working with the data stream