Using Haskell, I need: — | Produce a list where sequences of repeated elements in the given list ar

Using Haskell, I need:

— | Produce a list where sequences of repeated elements in the given list are replaced by just one of the repeated element.

Where the result of the following compress statement

Save your time - order a paper!

Get your paper written from scratch within the tight deadline. Our service is a reliable solution to all your troubles. Place an order on any task and we will take care of it. You won’t have to worry about the quality and deadlines

Order Paper Now

>>> compress [1,1,1,2,3,3,3,1,2,2,2,2]

results in:

— [1,2,3,1,2]

 

Looking for a Similar Assignment? Let us take care of your classwork while you enjoy your free time! All papers are written from scratch and are 100% Original. Try us today! Use Code FREE15