Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Tools for a 3-element type.
Documentation
Enum type with 3 elements.
partition3 :: (a -> Three) -> [a] -> ([a], [a], [a]) Source #
Partition a list into 3 groups.
Preserves the relative order or elements.
Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Tools for a 3-element type.
Enum type with 3 elements.
partition3 :: (a -> Three) -> [a] -> ([a], [a], [a]) Source #
Partition a list into 3 groups.
Preserves the relative order or elements.