Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data CompileError
- toJSON :: WellTyped -> Either CompileError Text
Documentation
data CompileError #
This is the exception type for errors that might arise when translating Dhall to JSON
Because the majority of Dhall language features do not translate to JSON this just returns the expression that failed
Instances
Show CompileError | |
Defined in Dhall.JSON showsPrec :: Int -> CompileError -> ShowS # show :: CompileError -> String # showList :: [CompileError] -> ShowS # | |
Exception CompileError | |
Defined in Dhall.JSON |