4 ms·Care to elaborate?by fogus 16y agoCare to elaborate?eru 16y agoIn Haskell, foldr can sometimes produce output as soon as it sees the first cons. So you don't have to wait for the whole list, which may be infinite.