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.
-
LambdaHack Game.LambdaHack.Core.Prelude 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"]
dbStateCmdSequence :: DatabaseState be -> !Seq (MigrationCommand be)beam-migrate Database.Beam.Migrate.Actions The current sequence of commands we've committed to in this state
texSequence :: Char -> Parser Stringbibtex Text.BibTeX.Parse Parse a sequence of texBlocks until the occurrence of a closing character. The closing character is not part of the result.
-
bz2 Codec.Compression.BZip No documentation available.
-
direct-sqlite Database.SQLite3 No documentation available.
-
direct-sqlite Database.SQLite3.Bindings.Types No documentation available.
-
direct-sqlite Database.SQLite3.Direct No documentation available.
decodeSequence :: (Flat (Element b), IsSequence b) => Get bflat Flat.Instances.Mono Decode an instance of IsSequence, as an array
encodeSequence :: (Flat (Element mono), MonoFoldable mono) => mono -> Encodingflat Flat.Instances.Mono Encode an instance of IsSequence, as an array
sizeSequence :: (IsSequence mono, Flat (Element mono)) => mono -> NumBits -> NumBitsflat Flat.Instances.Mono Calculate size of an instance of IsSequence as the sum:
- of the size of all the elements
- plus the size of the array constructors (1 byte every 255 elements plus one final byte)