Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. derivedSimpleFreshConstrainedNoSpec :: (Generic a, GenSymSimpleConstrainedNoSpec (Rep a), MonadFresh m, MonadError e m, MonadUnion m, Mergeable a) => e -> () -> m a

    grisette Grisette.Experimental

    We cannot provide DerivingVia style derivation for GenSymSimpleConstrained, while you can use this simpleFreshConstrained implementation to implement GenSymSimpleConstrained fo your own types. This simpleFreshConstrained implementation is for the types that does not need any specification. It will generate product types by generating each fields with () as specification. It will not work on sum types. Note: Never use on recursive types.

  2. derivedSimpleFreshConstrainedSameShape :: (Generic a, GenSymConstrainedSameShape (Rep a), Mergeable a, MonadFresh m, MonadError e m, MonadUnion m) => e -> a -> m a

    grisette Grisette.Experimental

    We cannot provide DerivingVia style derivation for GenSymSimpleConstrained, while you can use this simpleFreshConstrained implementation to implement GenSymSimpleConstrained fo your own types. This simpleFreshConstrained implementation is for the types that can be generated with a reference value of the same type. For sum types, it will generate the result with the same data constructor. For product types, it will generate the result by generating each field with the corresponding reference value. Note: Can be used on recursive types.

  3. derivedFreshConstrainedNoSpec :: (Generic a, GenSymConstrainedNoSpec (Rep a), Mergeable a, MonadFresh m, MonadError e m, MonadUnion m) => e -> () -> m (Union a)

    grisette Grisette.Experimental.GenSymConstrained

    We cannot provide DerivingVia style derivation for GenSymConstrained, while you can use this freshConstrained implementation to implement GenSymConstrained for your own types. This freshConstrained implementation is for the types that does not need any specification. It will generate product types by generating each fields with () as specification, and generate all possible values for a sum type. Note: Never use on recursive types.

  4. derivedSimpleFreshConstrainedNoSpec :: (Generic a, GenSymSimpleConstrainedNoSpec (Rep a), MonadFresh m, MonadError e m, MonadUnion m, Mergeable a) => e -> () -> m a

    grisette Grisette.Experimental.GenSymConstrained

    We cannot provide DerivingVia style derivation for GenSymSimpleConstrained, while you can use this simpleFreshConstrained implementation to implement GenSymSimpleConstrained fo your own types. This simpleFreshConstrained implementation is for the types that does not need any specification. It will generate product types by generating each fields with () as specification. It will not work on sum types. Note: Never use on recursive types.

  5. derivedSimpleFreshConstrainedSameShape :: (Generic a, GenSymConstrainedSameShape (Rep a), Mergeable a, MonadFresh m, MonadError e m, MonadUnion m) => e -> a -> m a

    grisette Grisette.Experimental.GenSymConstrained

    We cannot provide DerivingVia style derivation for GenSymSimpleConstrained, while you can use this simpleFreshConstrained implementation to implement GenSymSimpleConstrained fo your own types. This simpleFreshConstrained implementation is for the types that can be generated with a reference value of the same type. For sum types, it will generate the result with the same data constructor. For product types, it will generate the result by generating each field with the corresponding reference value. Note: Can be used on recursive types.

  6. derivedNoSpecFresh :: (Generic a, GenSymNoSpec (Rep a), Mergeable a, MonadFresh m) => () -> m (Union a)

    grisette Grisette.Internal.Core.Data.Class.GenSym

    We cannot provide DerivingVia style derivation for GenSym, while you can use this fresh implementation to implement GenSym for your own types. This fresh implementation is for the types that does not need any specification. It will generate product types by generating each fields with () as specification, and generate all possible values for a sum type. Note: Never use on recursive types.

  7. derivedNoSpecSimpleFresh :: (Generic a, GenSymSimpleNoSpec (Rep a), MonadFresh m) => () -> m a

    grisette Grisette.Internal.Core.Data.Class.GenSym

    We cannot provide DerivingVia style derivation for GenSymSimple, while you can use this simpleFresh implementation to implement GenSymSimple fo your own types. This simpleFresh implementation is for the types that does not need any specification. It will generate product types by generating each fields with () as specification. It will not work on sum types. Note: Never use on recursive types.

  8. derivedSameShapeSimpleFresh :: (Generic a, GenSymSameShape (Rep a), MonadFresh m) => a -> m a

    grisette Grisette.Internal.Core.Data.Class.GenSym

    We cannot provide DerivingVia style derivation for GenSymSimple, while you can use this simpleFresh implementation to implement GenSymSimple fo your own types. This simpleFresh implementation is for the types that can be generated with a reference value of the same type. For sum types, it will generate the result with the same data constructor. For product types, it will generate the result by generating each field with the corresponding reference value. Note: Can be used on recursive types.

  9. deriveWith :: DeriveConfig -> [Name] -> [Name] -> Q [Dec]

    grisette Grisette.Internal.TH.Derivation.Derive

    Derive the specified classes for a data type with the given name. Support the following classes for both vanilla data types and GADTs.

    Note that the following type classes cannot be derived for GADTs with existential type variables.

  10. deriveAllSyms :: DeriveConfig -> Name -> Q [Dec]

    grisette Grisette.Internal.TH.Derivation.DeriveAllSyms

    Derive AllSyms instance for a data type.

Page 41 of many | Previous | Next