Hoogle Search
Within LTS Haskell 24.19 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
bisequence_ :: (Bifoldable t, Applicative f) => t (f a) (f b) -> f ()relude Relude.Foldable.Reexport Evaluate each action in the structure from left to right, and ignore the results. For a version that doesn't ignore the results, see bisequence.
Examples
Basic usage:>>> bisequence_ (print "Hello", print "World") "Hello" "World"
>>> bisequence_ (Left (print "Hello")) "Hello"
>>> bisequence_ (Right (print "World")) "World"
-
relude Relude.List.Reexport The subsequences function returns the list of all subsequences of the argument.
Laziness
subsequences does not look ahead unless it must:>>> take 1 (subsequences undefined) [[]] >>> take 2 (subsequences ('a' : undefined)) ["","a"]Examples
>>> subsequences "abc" ["","a","b","ab","c","ac","bc","abc"]
This function is productive on infinite inputs:>>> take 8 $ subsequences ['a'..] ["","a","b","ab","c","ac","bc","abc"]
decodeSequenceLenIndef :: (r -> a -> r) -> r -> (r -> r') -> Decoder s a -> Decoder s r'serialise Codec.Serialise.Decoding Decode an indefinite sequence length.
decodeSequenceLenN :: (r -> a -> r) -> r -> (r -> r') -> Int -> Decoder s a -> Decoder s r'serialise Codec.Serialise.Decoding Decode a sequence length.
-
vinyl Data.Vinyl Push an outer layer of interpretation functor into each named field.
-
vinyl Data.Vinyl.Class.Method Push an outer layer of interpretation functor into each named field.
-
vinyl Data.Vinyl.Core Push an outer layer of interpretation functor into each field.
-
singletons-base Control.Monad.Singletons No documentation available.
-
singletons-base Control.Monad.Singletons No documentation available.
-
singletons-base Data.Foldable.Singletons No documentation available.