Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromListSplit :: a -> Exponent -> [a] -> (BinList a, [a])binary-list Data.BinaryList O(n). Build a binary list from a linked list. It returns a binary list with length 2 ^ n (where n is the supplied Int argument), and the list of elements of the original list that were not used. If the input list is shorter than 2 ^ n, a default element will be used to complete the binary list. This method for building binary lists is faster than both fromList and fromListWithDefault.
fromListWithDefault :: a -> [a] -> BinList abinary-list Data.BinaryList O(n). Build a binary list from a linked list. If the input list has length different from a power of two, fill to the next power of two with a default element. Warning: this function crashes if the input list length is larger than any power of two in the type Int. However, this is very unlikely.
toListFilter :: (a -> Bool) -> BinList a -> [a]binary-list Data.BinaryList O(n). Create a list from the elements of a binary list matching a given condition.
toListSegment :: Int -> Int -> BinList a -> [a]binary-list Data.BinaryList O(n). Create a list extracting a sublist of elements from a binary list.
-
binary-list Data.BinaryList.Serialize A binary list decoded, from where you can extract a binary list. If the decoding process fails in some point, you still will be able to retrieve the binary list of elements that were decoded successfully before the error.
DecodedBinList :: Direction -> Exponent -> Decoded a -> DecodedBinList abinary-list Data.BinaryList.Serialize No documentation available.
-
binary-list Data.BinaryList.Serialize A binary list encoded, ready to be written in a file or be sent over a network. It can be directly translated to a ByteString using encodedToByteString, or restored using encodedFromByteString.
EncodedBinList :: Direction -> Exponent -> ByteString -> EncodedBinListbinary-list Data.BinaryList.Serialize No documentation available.
decodeBinList :: Get a -> EncodedBinList -> DecodedBinList abinary-list Data.BinaryList.Serialize Decode an encoded binary list. The result is given as a DecodedBinList value, which can then be queried to get partial results.
decodedToList :: Decoded a -> [BinList a]binary-list Data.BinaryList.Serialize Extract the list of binary lists from a Decoded value.