Dutch national flag problem: Difference between revisions

Content deleted Content added
Dutch national flag problem - Haskell
m added signature to isDutch
Line 285:
dutch = sort
 
isDutch :: [Color] -> Bool
isDutch x = x == dutch x