Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
class
GenericFromDhall (t :: k) (f :: k1 -> Type)dhall Dhall.Marshal.Decode This is the underlying class that powers the FromDhall class's support for automatically deriving a generic implementation.
class
GenericFromDhallUnion (t :: k) (f :: k1 -> Type)dhall Dhall.Marshal.Decode This is the underlying class that powers the FromDhall class's support for automatically deriving a generic implementation for a union type.
showDhallErrors :: Show e => String -> DhallErrors e -> Stringdhall Dhall.Marshal.Decode Render a given prefix and some errors to a string.
class
GenericToDhall (f :: Type -> Type)dhall Dhall.Marshal.Encode This is the underlying class that powers the FromDhall class's support for automatically deriving a generic implementation.
-
dhall Dhall.Marshal.Encode This class is used by FromDhall instance for functions:
instance (ToDhall a, FromDhall b) => FromDhall (a -> b)
You can convert Dhall functions with "simple" inputs (i.e. instances of this class) into Haskell functions. This works by:- Marshaling the input to the Haskell function into a Dhall expression (i.e. x :: Expr Src Void)
- Applying the Dhall function (i.e. f :: Expr Src Void) to the Dhall input (i.e. App f x)
- Normalizing the syntax tree (i.e. normalize (App f x))
- Marshaling the resulting Dhall expression back into a Haskell value
genericToDhall :: (Generic a, GenericToDhall (Rep a)) => Encoder adhall Dhall.Marshal.Encode Use the default options for injecting a value, whose structure is determined generically. This can be used when you want to use ToDhall on types that you don't want to define orphan instances for.
genericToDhallWith :: (Generic a, GenericToDhall (Rep a)) => InterpretOptions -> Encoder adhall Dhall.Marshal.Encode Use custom options for injecting a value, whose structure is determined generically. This can be used when you want to use ToDhall on types that you don't want to define orphan instances for.
-
dhall Dhall.Marshal.Encode genericToDhallWithInputNormalizer is like genericToDhallWith, but instead of using the defaultInputNormalizer it expects an custom InputNormalizer.
-
dhall Dhall.Marshal.Encode No documentation available.
temporalLiteral :: Parser (Expr s a)dhall Dhall.Parser.Expression Parse a Date, Time, TimeZone or any valid permutation of them as a record This corresponds to the temporal-literal rule from the official grammar