Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. updateNumber :: (PersistableWidth s, Integral i, LiteralSQL i) => i -> Sequence s i -> Update ()

    relational-query Database.Relational.Arrow

    Update statement for sequence table

  2. updateNumber' :: (PersistableWidth s, Integral i, LiteralSQL i) => Config -> i -> Sequence s i -> Update ()

    relational-query Database.Relational.Arrow

    Update statement for sequence table

  3. updateNumber :: (PersistableWidth s, Integral i, LiteralSQL i) => i -> Sequence s i -> Update ()

    relational-query Database.Relational.Sequence

    Update statement for sequence table

  4. updateNumber' :: (PersistableWidth s, Integral i, LiteralSQL i) => Config -> i -> Sequence s i -> Update ()

    relational-query Database.Relational.Sequence

    Update statement for sequence table

  5. promoteEnumInstance :: OptionsMonad q => Name -> q [Dec]

    singletons-th Data.Singletons.TH

    Produce an instance for PEnum from the given type

  6. promoteEnumInstances :: OptionsMonad q => [Name] -> q [Dec]

    singletons-th Data.Singletons.TH

    Produce instances for PEnum from the given types

  7. singEnumInstance :: OptionsMonad q => Name -> q [Dec]

    singletons-th Data.Singletons.TH

    Create instance of SEnum for the given type

  8. singEnumInstances :: OptionsMonad q => [Name] -> q [Dec]

    singletons-th Data.Singletons.TH

    Create instances of SEnum for the given types

  9. parseEnum :: forall t e a . (Bounded a, Enum a, Render a, Textual t) => Bool -> Bool -> e -> e -> t -> Either e a

    ttc Data.TTC

    Parse a value in an enumeration The Render instance determines the textual values to parse from. This function is intended to be used with types that have few choices, as the implementation uses a linear algorithm. See the enum example program in the ttc-examples directory of the source repository.

  10. parseEnum' :: forall t e a . (Bounded a, Enum a, Render a, Textual t, Textual e) => String -> Bool -> Bool -> t -> Either e a

    ttc Data.TTC

    Parse a value in an enumeration using default error messages The Render instance determines the textual values to parse from. The following English error messages are returned:

    • "invalid {name}" when there are no matches
    • "ambiguous {name}" when there is more than one match
    This function is intended to be used with types that have few choices, as the implementation uses a linear algorithm.

Page 165 of many | Previous | Next