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.

  1. 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.

  2. fromListWithDefault :: a -> [a] -> BinList a

    binary-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.

  3. 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.

  4. toListSegment :: Int -> Int -> BinList a -> [a]

    binary-list Data.BinaryList

    O(n). Create a list extracting a sublist of elements from a binary list.

  5. data DecodedBinList a

    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.

  6. DecodedBinList :: Direction -> Exponent -> Decoded a -> DecodedBinList a

    binary-list Data.BinaryList.Serialize

    No documentation available.

  7. data EncodedBinList

    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.

  8. EncodedBinList :: Direction -> Exponent -> ByteString -> EncodedBinList

    binary-list Data.BinaryList.Serialize

    No documentation available.

  9. decodeBinList :: Get a -> EncodedBinList -> DecodedBinList a

    binary-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.

  10. decodedToList :: Decoded a -> [BinList a]

    binary-list Data.BinaryList.Serialize

    Extract the list of binary lists from a Decoded value.

Page 186 of many | Previous | Next