Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. pPrint :: Pretty a => a -> Doc

    pretty-class Text.PrettyPrint.HughesPJClass

    No documentation available.

  2. pPrintList :: Pretty a => PrettyLevel -> [a] -> Doc

    pretty-class Text.PrettyPrint.HughesPJClass

    No documentation available.

  3. pPrintPrec :: Pretty a => PrettyLevel -> Rational -> a -> Doc

    pretty-class Text.PrettyPrint.HughesPJClass

    No documentation available.

  4. package prettyprinter-compat-annotated-wl-pprint

    Drop-in compatibility package to migrate from »annotated-wl-pprint« to »prettyprinter«. See README.md

  5. package prettyprinter-compat-wl-pprint

    Drop-in compatibility package to migrate from »wl-pprint« to »prettyprinter«. See README.md

  6. reportErrorSCustomFingerprint :: (MonadIO m, MonadBaseControl IO m) => Settings -> Options -> Text -> Maybe (Text -> Text -> m ()) -> Text -> Text -> m ()

    rollbar Rollbar

    Pass in custom fingerprint for grouping on rollbar

  7. data TagFingerprint

    tagged-binary Data.Binary.Tagged

    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.

  8. 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!

  9. 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)
    

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

Page 341 of many | Previous | Next