Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
Pretty printing class similar to Show. Pretty printing class similar to Show, based on the HughesPJ pretty printing library. Provides the pretty printing class and instances for the Prelude types. This upload replaces the old pretty-class package (which I believe nobody is using) with a copy of Lennart's prettyclass package with a small change to its Char instance.
package
prettyprinter-compat-annotated-wl-pprint Drop-in compatibility package to migrate from »annotated-wl-pprint« to »prettyprinter«. See README.md
package
prettyprinter-compat-wl-pprint Drop-in compatibility package to migrate from »wl-pprint« to »prettyprinter«. See README.md
-
Serialisation of primitive types Representation of basic numeric types as ByteStrings
-
Probabilistic Functional Programming The Library allows exact computation with discrete random variables in terms of their distributions by using a monad. The monad is similar to the List monad for non-deterministic computations, but extends the List monad by a measure of probability. Small interface to R plotting.
package
prometheus-metrics-ghc Metrics exposing GHC runtime information for use with prometheus-client. Metrics exposing GHC runtime information for use with prometheus-client.
-
A user-friendly, dependently-typed library for asking your users questions A library making use of the terminal package to prompt users for answers in a CLI context. Supports freeform text as well as choices between sum type constructors.
-
Adapting proto-lens to optparse-applicative ReadMs. A package adapting proto-lens to optparse-applicative ReadMs. This gives an easy way to define options and arguments for text-format protobuf types.
package
proto-lens-protobuf-types Basic protocol buffer message types. This package provides bindings standard protocol message types, for use with the proto-lens library.
-
Cabal support for codegen with proto-lens. This package provides Cabal support for the proto-lens package. It automatically generates Haskell source files from protocol buffer files (.proto). To generate Haskell modules for a Cabal package, import Data.ProtoLens.Setup from the Setup.hs file. For example:
import Data.ProtoLens.Setup -- Here, "src" is the directory where .proto source files may be found main = defaultMainGeneratingProtos "src"
Then, edit the .cabal file of your project to:- Specify build-type: Custom, and add a custom-setup clause that depends on proto-lens-setup.
- List the .proto files in extra-source-files. Note that the field belongs at the top level of the .cabal file, rather than once per library/executable/etc.
- List the generated modules (e.g. Proto.Foo.Bar) in exposed-modules or other-modules of the rule(s) that use them (e.g. the library or executables). Additionally, add proto-lens-runtime to the build-depends of those rules.
build-type: Custom extra-source-files: src/foo/bar.proto ... custom-setup setup-depends: base, Cabal, proto-lens-setup
library exposed-modules: Proto.Foo.Bar, Proto.Foo.Bar_Fields autogen-modules: Proto.Foo.Bar, Proto.Foo.Bar_Fields build-depends: proto-lens-runtime, ...