ยค idempotSP

Types

idempotSP :: Eq a => SP a a

Description

idempotSP removes equal adjacent elements from a stream, e.g., if the input stream contains x, y, y, z, y, then the output stream will contain x, y, z, y.