dhall-haskell/dhall/dhall.cabal

288 lines
11 KiB
Plaintext
Raw Normal View History

2016-09-07 18:17:12 +02:00
Name: dhall
2018-10-16 06:08:44 +02:00
Version: 1.18.0
Cabal-Version: >=1.10
2016-09-07 18:17:12 +02:00
Build-Type: Simple
Tested-With: GHC == 8.0.1
2016-09-07 18:17:12 +02:00
License: BSD3
License-File: LICENSE
2017-01-29 23:59:16 +01:00
Copyright: 2017 Gabriel Gonzalez
2016-09-07 18:17:12 +02:00
Author: Gabriel Gonzalez
Maintainer: Gabriel439@gmail.com
Bug-Reports: https://github.com/dhall-lang/dhall-haskell/issues
2016-09-07 18:17:12 +02:00
Synopsis: A configuration language guaranteed to terminate
Description:
Dhall is an explicitly typed configuration language that is not Turing
complete. Despite being Turing incomplete, Dhall is a real programming
language with a type-checker and evaluator.
.
Use this library to parse, type-check, evaluate, and pretty-print the Dhall
configuration language. This package also includes an executable which
type-checks a Dhall file and reduces the file to a fully evaluated normal
form.
.
Read "Dhall.Tutorial" to learn how to use this library
Category: Compiler
Extra-Source-Files:
CHANGELOG.md
Prelude/package.dhall
Prelude/Monoid
tests/format/*.dhall
tests/normalization/tutorial/combineTypes/*.dhall
tests/normalization/tutorial/prefer/*.dhall
tests/normalization/tutorial/projection/*.dhall
tests/normalization/tutorial/access/*.dhall
tests/normalization/*.dhall
tests/normalization/examples/Bool/and/*.dhall
tests/normalization/examples/Bool/build/*.dhall
tests/normalization/examples/Bool/even/*.dhall
tests/normalization/examples/Bool/fold/*.dhall
tests/normalization/examples/Bool/not/*.dhall
tests/normalization/examples/Bool/odd/*.dhall
tests/normalization/examples/Bool/or/*.dhall
tests/normalization/examples/Bool/show/*.dhall
tests/normalization/examples/Double/show/*.dhall
tests/normalization/examples/Integer/show/*.dhall
tests/normalization/examples/Integer/toDouble/*.dhall
tests/normalization/examples/List/all/*.dhall
tests/normalization/examples/List/any/*.dhall
tests/normalization/examples/List/build/*.dhall
tests/normalization/examples/List/concat/*.dhall
tests/normalization/examples/List/concatMap/*.dhall
tests/normalization/examples/List/filter/*.dhall
tests/normalization/examples/List/fold/*.dhall
tests/normalization/examples/List/generate/*.dhall
tests/normalization/examples/List/head/*.dhall
tests/normalization/examples/List/indexed/*.dhall
tests/normalization/examples/List/iterate/*.dhall
tests/normalization/examples/List/last/*.dhall
tests/normalization/examples/List/length/*.dhall
tests/normalization/examples/List/map/*.dhall
tests/normalization/examples/List/null/*.dhall
tests/normalization/examples/List/replicate/*.dhall
tests/normalization/examples/List/reverse/*.dhall
tests/normalization/examples/List/shifted/*.dhall
tests/normalization/examples/List/unzip/*.dhall
tests/normalization/examples/Natural/build/*.dhall
tests/normalization/examples/Natural/enumerate/*.dhall
tests/normalization/examples/Natural/even/*.dhall
tests/normalization/examples/Natural/fold/*.dhall
tests/normalization/examples/Natural/isZero/*.dhall
tests/normalization/examples/Natural/odd/*.dhall
tests/normalization/examples/Natural/product/*.dhall
tests/normalization/examples/Natural/show/*.dhall
tests/normalization/examples/Natural/sum/*.dhall
tests/normalization/examples/Natural/toDouble/*.dhall
tests/normalization/examples/Natural/toInteger/*.dhall
tests/normalization/examples/Optional/all/*.dhall
tests/normalization/examples/Optional/any/*.dhall
tests/normalization/examples/Optional/build/*.dhall
tests/normalization/examples/Optional/concat/*.dhall
tests/normalization/examples/Optional/filter/*.dhall
tests/normalization/examples/Optional/fold/*.dhall
tests/normalization/examples/Optional/head/*.dhall
tests/normalization/examples/Optional/last/*.dhall
tests/normalization/examples/Optional/length/*.dhall
tests/normalization/examples/Optional/map/*.dhall
tests/normalization/examples/Optional/null/*.dhall
tests/normalization/examples/Optional/toList/*.dhall
tests/normalization/examples/Optional/unzip/*.dhall
tests/normalization/examples/Text/concat/*.dhall
tests/normalization/examples/Text/concatMap/*.dhall
tests/normalization/examples/Text/concatMapSep/*.dhall
tests/normalization/examples/Text/concatSep/*.dhall
tests/normalization/simplifications/*.dhall
tests/parser/*.dhall
tests/parser/failure/*.dhall
tests/regression/*.dhall
tests/tutorial/*.dhall
tests/typecheck/*.dhall
tests/typecheck/failure/*.dhall
tests/typecheck/examples/Monoid/*.dhall
tests/typecheck/access/*.dhall
tests/import/*.dhall
2018-07-22 09:03:31 +02:00
tests/import/data/foo/bar/a.dhall
benchmark/examples/*.dhall
benchmark/deep-nested-large-record/*.dhall
2016-09-07 18:17:12 +02:00
Source-Repository head
Type: git
Location: https://github.com/dhall-lang/dhall-haskell/tree/master/dhall
2016-09-07 18:17:12 +02:00
Flag with-http
Description: Include support for importing dhall modules from HTTP URLs
Default: True
Manual: True
2016-09-07 18:17:12 +02:00
Library
Hs-Source-Dirs: src
Build-Depends:
base >= 4.8.2.0 && < 5 ,
ansi-terminal >= 0.6.3.1 && < 0.9 ,
bytestring < 0.11,
case-insensitive < 1.3 ,
cborg >= 0.2.0.0 && < 0.3 ,
containers >= 0.5.0.0 && < 0.7 ,
contravariant < 1.6 ,
cryptonite >= 0.23 && < 1.0 ,
Diff >= 0.2 && < 0.4 ,
directory >= 1.2.2.0 && < 1.4 ,
exceptions >= 0.8.3 && < 0.11,
filepath >= 1.4 && < 1.5 ,
haskeline >= 0.7.2.1 && < 0.8 ,
lens-family-core >= 1.0.0 && < 1.3 ,
megaparsec >= 7.0.0 && < 7.1 ,
memory >= 0.14 && < 0.15,
mtl >= 2.2.1 && < 2.3 ,
optparse-applicative >= 0.14.0.0 && < 0.15,
parsers >= 0.12.4 && < 0.13,
prettyprinter >= 1.2.0.1 && < 1.3 ,
prettyprinter-ansi-terminal >= 1.1.1 && < 1.2 ,
repline >= 0.2.0.0 && < 0.3 ,
serialise >= 0.2.0.0 && < 0.3 ,
scientific >= 0.3.0.0 && < 0.4 ,
template-haskell < 2.15,
text >= 0.11.1.0 && < 1.3 ,
transformers >= 0.2.0.0 && < 0.6 ,
unordered-containers >= 0.1.3.0 && < 0.3 ,
vector >= 0.11.0.0 && < 0.13
if flag(with-http)
Build-Depends:
http-client >= 0.4.30 && < 0.6 ,
http-client-tls >= 0.2.0 && < 0.4
if !impl(ghc >= 8.0)
Build-Depends: semigroups == 0.18.*
Build-Depends: transformers == 0.4.2.*
Build-Depends: fail == 4.9.*
2016-09-07 18:17:12 +02:00
Exposed-Modules:
Dhall,
Dhall.Binary,
2016-09-07 18:17:12 +02:00
Dhall.Context,
Dhall.Core,
Dhall.Diff,
Dhall.Format,
Dhall.Freeze,
Dhall.Hash,
2016-09-07 18:17:12 +02:00
Dhall.Import,
Dhall.Lint,
Dhall.Main,
Dhall.Map,
2018-11-06 04:59:01 +01:00
Dhall.Set,
Dhall.Parser,
Dhall.Pretty,
Dhall.Repl,
Dhall.TH,
2016-11-25 04:15:29 +01:00
Dhall.Tutorial,
Dhall.TypeCheck
Other-Modules:
Dhall.Pretty.Internal,
Dhall.Parser.Expression,
Dhall.Parser.Combinators,
Dhall.Parser.Token,
Dhall.Import.Types,
Truncate the displayed source code when it exceeds 7 lines (#589) Fixes #573 Example output: ``` $ dhall --explain <<< './test.dhall' ↳ ./test.dhall y : < Foo0 : Type | Foo1 : ======== | Foo9 : {} > Error: You can only append ❰List❱s with matching element types - Natural + { … : … } Explanation: You can append two ❰List❱s using the ❰#❱ operator, like this: ┌────────────────────┐ │ [1, 2, 3] # [4, 5] │ └────────────────────┘ ... but you cannot append two ❰List❱s if they have different element types. For example, the following expression is not valid: These elements have type ❰Natural❱ ⇩ ┌───────────────────────────┐ │ [1, 2, 3] # [True, False] │ Invalid: the element types don't match └───────────────────────────┘ ⇧ These elements have type ❰Bool❱ ──────────────────────────────────────────────────────────────────────────────── You tried to append a ❰List❱ thas has elements of type: ↳ Natural ... with another ❰List❱ that has elements of type: ↳ { a : Natural , b : =========== , g : Natural } ... and those two types do not match ──────────────────────────────────────────────────────────────────────────────── [ 1 , 1 , 1 ============= , g = 7 } ] /Users/gabriel/proj/dhall/test.dhall:13:13 ```
2018-09-20 17:30:58 +02:00
Dhall.Util,
Paths_dhall
if flag(with-http)
Other-Modules:
Dhall.Import.HTTP
GHC-Options: -Wall
Default-Language: Haskell2010
2016-09-07 18:17:12 +02:00
Executable dhall
Hs-Source-Dirs: dhall
2016-09-07 18:17:12 +02:00
Main-Is: Main.hs
Build-Depends: base, dhall
GHC-Options: -Wall -rtsopts
Default-Language: Haskell2010
2017-04-29 23:41:53 +02:00
Test-Suite tasty
2017-04-29 23:41:53 +02:00
Type: exitcode-stdio-1.0
Hs-Source-Dirs: tests
Main-Is: Tests.hs
GHC-Options: -Wall
2017-04-29 23:41:53 +02:00
Other-Modules:
Format
Import
2017-04-29 23:41:53 +02:00
Normalization
Parser
QuickCheck
Regression
Tutorial
TypeCheck
Util
2017-04-29 23:41:53 +02:00
Build-Depends:
base >= 4 && < 5 ,
containers ,
deepseq >= 1.2.0.1 && < 1.5 ,
dhall ,
directory ,
filepath ,
prettyprinter ,
QuickCheck >= 2.10 && < 2.13,
quickcheck-instances >= 0.3.12 && < 0.4 ,
serialise ,
tasty >= 0.11.2 && < 1.2 ,
tasty-hunit >= 0.9.2 && < 0.11,
tasty-quickcheck >= 0.9.2 && < 0.11,
text >= 0.11.1.0 && < 1.3 ,
transformers ,
vector >= 0.11.0.0 && < 0.13
Default-Language: Haskell2010
Test-Suite doctest
Type: exitcode-stdio-1.0
Hs-Source-Dirs: doctest
Main-Is: Main.hs
GHC-Options: -Wall
Build-Depends:
base ,
directory ,
filepath < 1.5 ,
mockery < 0.4 ,
doctest >= 0.7.0 && < 0.17
Default-Language: Haskell2010
-- `doctest` doesn't work with `MIN_VERSION` macros before GHC 8
--
-- See: https://ghc.haskell.org/trac/ghc/ticket/10970
if impl(ghc < 8.0)
Buildable: False
Benchmark dhall-parser
Type: exitcode-stdio-1.0
Hs-Source-Dirs: benchmark/parser
Main-Is: Main.hs
Build-Depends:
base >= 4 && < 5 ,
bytestring ,
containers >= 0.5.0.0 && < 0.7,
criterion >= 1.1 && < 1.6,
dhall ,
directory ,
serialise ,
text >= 0.11.1.0 && < 1.3
Default-Language: Haskell2010
ghc-options: -rtsopts
Benchmark deep-nested-large-record
Type: exitcode-stdio-1.0
Hs-Source-Dirs: benchmark/deep-nested-large-record
Main-Is: Main.hs
Build-Depends:
base >= 4 && < 5 ,
containers >= 0.5.0.0 && < 0.7,
criterion >= 1.1 && < 1.6,
dhall
Default-Language: Haskell2010
Benchmark dhall-command
Type: exitcode-stdio-1.0
Main-Is: Main.hs
Hs-Source-Dirs: benchmark/dhall-command
Build-Depends:
base >= 4 && < 5 ,
dhall
Default-Language: Haskell2010
ghc-options: -rtsopts -O2