Hi, I need to make a function and I am having some trouble.

In Haskell I know how to do it but here in Elm is differente due to the 
implementation of Lists.


I have a huge list and I want to check if all elements in the list are the 
same. I have a Haskell function that works but in Elm it doesn't because 
List.tail returns a Maybe (List a). So with this, i cannot do a List.map or 
List.all on the tail of the list.


Thanks 

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to