Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. bsFingerprint :: ByteString -> Maybe TagFingerprint

    tagged-binary Data.Binary.Tagged

    With a ByteString, expecting tagged data, returns the Fingerprint that the data is tagged with. Returns Nothing if the data is not decodable as tagged data. Might accidentally decode untagged data though!

  2. typeFingerprint :: Typeable a => a -> TagFingerprint

    tagged-binary Data.Binary.Tagged

    Compute the Fingerprint representing a type. It is non-strict on its parameter, so passing in undefined should work if you want to just get the Fingerprint of a specific type without having data of that type on hand:

    typeFingerprint (undefined :: Int)
    

  3. data TagFingerprint

    tagged-binary Data.Binary.Tagged.Internal

    A data type representing a fingerprint for a Typeable type. Ideally, this would be Internal's own Fingerprint types; however, for some reason, the fingerprints for the same data type from the same modules differ between different GHC backends. So for now, it is just a ByteString representation of the name of the type. This is literally a bad idea, and so two types with the same name but from different modules will share a non-unique TagFingerprint. Hopefully in the future when I find out a way to fix this or the GHC backend maintainers find a way to provide consistent type fingerprints, this will be fixed. This type is mostly used for the ability to categorized Tagged items by their type. emptyTagFP gives a TagFingerprint that will most likely never be matched by any actual tag from a real type, so can be used as a test if needed. This replaces functionality that used to come from the Default instance.

  4. bsFingerprint :: ByteString -> Maybe TagFingerprint

    tagged-binary Data.Binary.Tagged.Internal

    With a ByteString, expecting tagged data, returns the Fingerprint that the data is tagged with. Returns Nothing if the data is not decodable as tagged data. Might accidentally decode untagged data though!

  5. tagFingerprint :: Tagged a -> TagFingerprint

    tagged-binary Data.Binary.Tagged.Internal

    Extract the Fingerprint out of a Tagged. Mostly used so that you can categorize and associate Tagged items; to check if a Tagged is of a desired typed, getTagged and tagMatched might be more useful.

  6. typeFingerprint :: Typeable a => a -> TagFingerprint

    tagged-binary Data.Binary.Tagged.Internal

    Compute the Fingerprint representing a type. It is non-strict on its parameter, so passing in undefined should work if you want to just get the Fingerprint of a specific type without having data of that type on hand:

    typeFingerprint (undefined :: Int)
    

  7. package wl-pprint

    The Wadler/Leijen Pretty Printer This is a pretty printing library based on Wadler's paper "A Prettier Printer". See the haddocks for full info. This version allows the library user to declare overlapping instances of the Pretty class.

  8. class Show a => PPrint a

    xmonad-contrib XMonad.Config.Dmwit

    No documentation available.

  9. data PPrintable

    xmonad-contrib XMonad.Config.Dmwit

    No documentation available.

  10. pprint :: PPrint a => Int -> a -> String

    xmonad-contrib XMonad.Config.Dmwit

    No documentation available.

Page 460 of many | Previous | Next