Copyright | Guillaume Sabbagh 2021 |
---|---|
License | GPL-3 |
Maintainer | guillaumesabbagh@protonmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Utilitary functions for sets with list as underlying representation.
It has the advantage of not requiring the Ord typeclass at all.
Synopsis
- isIncludedIn :: Eq a => [a] -> [a] -> Bool
- doubleInclusion :: Eq a => [a] -> [a] -> Bool
- powerList :: Eq a => [a] -> [[a]]
Documentation
isIncludedIn :: Eq a => [a] -> [a] -> Bool Source #
Returns a boolean indicating if the set of elements of a list are included in an another.
doubleInclusion :: Eq a => [a] -> [a] -> Bool Source #
Returns a boolean indicating if the set of elements of two lists are equal.