[Haskell-beginners] How to process a list that contains "undefined" values?

David Place d at vidplace.com
Sat Jul 2 16:26:16 CEST 2011


On Jul 2, 2011, at 10:09 AM, Costello, Roger L. wrote:

> For example would it be better to express the above list using Maybe:
> 
>    [Nothing, Just 10, Nothing, Just 20]

That is exactly the right way to do it.

> Or perhaps something else?
> 
> What do you recommend?




More information about the Beginners mailing list