Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
filterByList :: [Bool] -> [a] -> [a]deriving-compat Data.Deriving.Internal filterByList takes a list of Bools and a list of some elements and filters out these elements for which the corresponding value in the list of Bools is False. This function does not check whether the lists have equal length.
filterByLists :: [Bool] -> [a] -> [a] -> [a]deriving-compat Data.Deriving.Internal filterByLists takes a list of Bools and two lists as input, and outputs a new list consisting of elements from the last two input lists. For each Bool in the list, if it is True, then it takes an element from the former list. If it is False, it takes an element from the latter list. The elements taken correspond to the index of the Bool in its list. For example:
filterByLists [True, False, True, False] "abcd" "wxyz" = "axcz"
This function does not check whether the lists have equal length.-
deriving-compat Data.Deriving.Internal No documentation available.
liftReadListPrec2DefaultValName :: Namederiving-compat Data.Deriving.Internal No documentation available.
liftReadListPrec2ValName :: Namederiving-compat Data.Deriving.Internal No documentation available.
liftReadListPrecDefaultValName :: Namederiving-compat Data.Deriving.Internal No documentation available.
liftReadListPrecValName :: Namederiving-compat Data.Deriving.Internal No documentation available.
-
deriving-compat Data.Deriving.Internal No documentation available.
-
deriving-compat Data.Deriving.Internal No documentation available.
-
deriving-compat Data.Deriving.Internal No documentation available.