forked from jneira/dhall-to-etlas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
54 changed files
with
1,624 additions
and
648 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,23 +8,23 @@ cabal-version: 1.12 | |
-- 'dhall-to-etlas.dhall', and re-generate this file by running | ||
-- 'dhall-to-cabal -- dhall-to-etlas.dhall'. | ||
-- * * * * * * * * * * * * WARNING * * * * * * * * * * * * | ||
name: dhall-to-etlas | ||
version: 1.3.4.0 | ||
license: MIT | ||
license-file: LICENSE | ||
maintainer: Javier Neira <[email protected]> | ||
author: Ollie Charles <[email protected]> | ||
homepage: https://github.com/eta-lang/dhall-to-etlas | ||
bug-reports: https://github.com/eta-lang/dhall-to-etlas/issues | ||
synopsis: Compile Dhall expressions to Etlas files | ||
name: dhall-to-etlas | ||
version: 1.3.4.0 | ||
license: MIT | ||
license-file: LICENSE | ||
maintainer: Javier Neira <[email protected]> | ||
author: Ollie Charles <[email protected]> | ||
homepage: https://github.com/eta-lang/dhall-to-etlas | ||
bug-reports: https://github.com/eta-lang/dhall-to-etlas/issues | ||
synopsis: Compile Dhall expressions to Etlas files | ||
description: | ||
dhall-to-etlas takes Dhall expressions and compiles them into Etlas | ||
files. All of the features of Dhall are supported, such as let | ||
bindings and imports, and all features of Etlas are supported | ||
(including conditional stanzas). | ||
. | ||
category: Distribution | ||
build-type: Simple | ||
category: Distribution | ||
build-type: Simple | ||
extra-source-files: | ||
Changelog.md | ||
README.md | ||
|
@@ -53,7 +53,8 @@ library | |
DhallToCabal | ||
DhallToCabal.FactorType | ||
DhallToCabal.Util | ||
hs-source-dirs: lib | ||
|
||
hs-source-dirs: lib | ||
other-modules: | ||
DhallToCabal.ConfigTree | ||
DhallToCabal.Diff | ||
|
@@ -68,7 +69,7 @@ library | |
-fno-warn-name-shadowing | ||
build-depends: | ||
base >=4.5 && <5, | ||
dhall >=1.25.0 && <1.26, | ||
dhall >=1.26.0 && <1.27, | ||
etlas-cabal -any, | ||
bytestring >=0.10 && <0.11, | ||
containers >=0.5 && <0.6, | ||
|
@@ -93,7 +94,7 @@ executable dhall-to-etlas | |
-fno-warn-name-shadowing | ||
build-depends: | ||
base >=4.5 && <5, | ||
dhall >=1.25.0 && <1.26, | ||
dhall >=1.26.0 && <1.27, | ||
etlas-cabal -any, | ||
containers >=0.5 && <0.6, | ||
dhall-to-etlas -any, | ||
|
@@ -119,7 +120,7 @@ executable etlas-to-dhall | |
-fno-warn-name-shadowing | ||
build-depends: | ||
base >=4.5 && <5, | ||
dhall >=1.25.0 && <1.26, | ||
dhall >=1.26.0 && <1.27, | ||
bytestring >=0.10 && <0.11, | ||
dhall-to-etlas -any, | ||
optparse-applicative >=0.13.2 && <0.15, | ||
|
@@ -136,7 +137,7 @@ executable dhall-to-etlas-meta | |
-fno-warn-name-shadowing | ||
build-depends: | ||
base >=4.5 && <5, | ||
dhall >=1.25.0 && <1.26, | ||
dhall >=1.26.0 && <1.27, | ||
directory >=1.2.7.1 && <1.4, | ||
dhall-to-etlas -any, | ||
filepath >=1.4 && <1.5, | ||
|
@@ -154,7 +155,7 @@ test-suite golden-tests | |
-fno-warn-name-shadowing | ||
build-depends: | ||
base >=4.5 && <5, | ||
dhall >=1.25.0 && <1.26, | ||
dhall >=1.26.0 && <1.27, | ||
etlas-cabal -any, | ||
Diff >=0.3.4 && <0.4, | ||
bytestring >=0.10 && <0.11, | ||
|
@@ -179,7 +180,7 @@ test-suite unit-tests | |
-fno-warn-name-shadowing | ||
build-depends: | ||
base >=4.5 && <5, | ||
dhall >=1.25.0 && <1.26, | ||
dhall >=1.26.0 && <1.27, | ||
etlas-cabal -any, | ||
dhall-to-etlas -any, | ||
tasty >=0.11 && <1.3, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
λ(PkgconfigVersionRange : Type) | ||
→ λ(anyVersion : PkgconfigVersionRange) | ||
→ λ(thisVersion : Text → PkgconfigVersionRange) | ||
→ λ(laterVersion : Text → PkgconfigVersionRange) | ||
→ λ(earlierVersion : Text → PkgconfigVersionRange) | ||
→ λ(orLaterVersion : Text → PkgconfigVersionRange) | ||
→ λ(orEarlierVersion : Text → PkgconfigVersionRange) | ||
→ λ ( unionVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ λ ( intersectVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ anyVersion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
λ(v : Text) | ||
→ λ(PkgconfigVersionRange : Type) | ||
→ λ(anyVersion : PkgconfigVersionRange) | ||
→ λ(thisVersion : Text → PkgconfigVersionRange) | ||
→ λ(laterVersion : Text → PkgconfigVersionRange) | ||
→ λ(earlierVersion : Text → PkgconfigVersionRange) | ||
→ λ(orLaterVersion : Text → PkgconfigVersionRange) | ||
→ λ(orEarlierVersion : Text → PkgconfigVersionRange) | ||
→ λ ( unionVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ λ ( intersectVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ earlierVersion v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
λ(a : ../types/PkgconfigVersionRange.dhall) | ||
→ λ(b : ../types/PkgconfigVersionRange.dhall) | ||
→ λ(PkgconfigVersionRange : Type) | ||
→ λ(anyVersion : PkgconfigVersionRange) | ||
→ λ(thisVersion : Text → PkgconfigVersionRange) | ||
→ λ(laterVersion : Text → PkgconfigVersionRange) | ||
→ λ(earlierVersion : Text → PkgconfigVersionRange) | ||
→ λ(orLaterVersion : Text → PkgconfigVersionRange) | ||
→ λ(orEarlierVersion : Text → PkgconfigVersionRange) | ||
→ λ ( unionVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ λ ( intersectVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ intersectVersionRanges | ||
( a | ||
PkgconfigVersionRange | ||
anyVersion | ||
thisVersion | ||
laterVersion | ||
earlierVersion | ||
orLaterVersion | ||
orEarlierVersion | ||
unionVersionRanges | ||
intersectVersionRanges | ||
) | ||
( b | ||
PkgconfigVersionRange | ||
anyVersion | ||
thisVersion | ||
laterVersion | ||
earlierVersion | ||
orLaterVersion | ||
orEarlierVersion | ||
unionVersionRanges | ||
intersectVersionRanges | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
λ(v : Text) | ||
→ λ(PkgconfigVersionRange : Type) | ||
→ λ(anyVersion : PkgconfigVersionRange) | ||
→ λ(thisVersion : Text → PkgconfigVersionRange) | ||
→ λ(laterVersion : Text → PkgconfigVersionRange) | ||
→ λ(earlierVersion : Text → PkgconfigVersionRange) | ||
→ λ(orLaterVersion : Text → PkgconfigVersionRange) | ||
→ λ(orEarlierVersion : Text → PkgconfigVersionRange) | ||
→ λ ( unionVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ λ ( intersectVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ laterVersion v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
λ(v : Text) | ||
→ λ(PkgconfigVersionRange : Type) | ||
→ λ(anyVersion : PkgconfigVersionRange) | ||
→ λ(thisVersion : Text → PkgconfigVersionRange) | ||
→ λ(laterVersion : Text → PkgconfigVersionRange) | ||
→ λ(earlierVersion : Text → PkgconfigVersionRange) | ||
→ λ(orLaterVersion : Text → PkgconfigVersionRange) | ||
→ λ(orEarlierVersion : Text → PkgconfigVersionRange) | ||
→ λ ( unionVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ λ ( intersectVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ orEarlierVersion v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
λ(v : Text) | ||
→ λ(PkgconfigVersionRange : Type) | ||
→ λ(anyVersion : PkgconfigVersionRange) | ||
→ λ(thisVersion : Text → PkgconfigVersionRange) | ||
→ λ(laterVersion : Text → PkgconfigVersionRange) | ||
→ λ(earlierVersion : Text → PkgconfigVersionRange) | ||
→ λ(orLaterVersion : Text → PkgconfigVersionRange) | ||
→ λ(orEarlierVersion : Text → PkgconfigVersionRange) | ||
→ λ ( unionVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ λ ( intersectVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ orLaterVersion v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
λ(v : Text) | ||
→ λ(PkgconfigVersionRange : Type) | ||
→ λ(anyVersion : PkgconfigVersionRange) | ||
→ λ(thisVersion : Text → PkgconfigVersionRange) | ||
→ λ(laterVersion : Text → PkgconfigVersionRange) | ||
→ λ(earlierVersion : Text → PkgconfigVersionRange) | ||
→ λ(orLaterVersion : Text → PkgconfigVersionRange) | ||
→ λ(orEarlierVersion : Text → PkgconfigVersionRange) | ||
→ λ ( unionVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ λ ( intersectVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ thisVersion v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
λ(a : ../types/PkgconfigVersionRange.dhall) | ||
→ λ(b : ../types/PkgconfigVersionRange.dhall) | ||
→ λ(PkgconfigVersionRange : Type) | ||
→ λ(anyVersion : PkgconfigVersionRange) | ||
→ λ(thisVersion : Text → PkgconfigVersionRange) | ||
→ λ(laterVersion : Text → PkgconfigVersionRange) | ||
→ λ(earlierVersion : Text → PkgconfigVersionRange) | ||
→ λ(orLaterVersion : Text → PkgconfigVersionRange) | ||
→ λ(orEarlierVersion : Text → PkgconfigVersionRange) | ||
→ λ ( unionVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ λ ( intersectVersionRanges | ||
: PkgconfigVersionRange → PkgconfigVersionRange → PkgconfigVersionRange | ||
) | ||
→ unionVersionRanges | ||
( a | ||
PkgconfigVersionRange | ||
anyVersion | ||
thisVersion | ||
laterVersion | ||
earlierVersion | ||
orLaterVersion | ||
orEarlierVersion | ||
unionVersionRanges | ||
intersectVersionRanges | ||
) | ||
( b | ||
PkgconfigVersionRange | ||
anyVersion | ||
thisVersion | ||
laterVersion | ||
earlierVersion | ||
orLaterVersion | ||
orEarlierVersion | ||
unionVersionRanges | ||
intersectVersionRanges | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
-- This file is auto-generated by dhall-to-cabal-meta. Look but don't touch (unless you want your edits to be over-written). | ||
let types = ../types.dhall | ||
|
||
in ./BuildInfo.dhall | ||
⫽ { exposed-modules = | ||
[] : List Text | ||
, reexported-modules = | ||
[] : List | ||
{ name : | ||
Text | ||
, original : | ||
{ name : Text, package : Optional Text } | ||
} | ||
, signatures = | ||
[] : List Text | ||
, visibility = | ||
types.LibraryVisibility.public | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
-- This file is auto-generated by dhall-to-cabal-meta. Look but don't touch (unless you want your edits to be over-written). | ||
let types = ../types.dhall | ||
|
||
in ./BuildInfo.dhall | ||
⫽ { exposed-modules = | ||
[] : List Text | ||
, reexported-modules = | ||
[] : List | ||
{ name : | ||
Text | ||
, original : | ||
{ name : Text, package : Optional Text } | ||
} | ||
, signatures = | ||
[] : List Text | ||
, visibility = | ||
types.LibraryVisibility.private | ||
} |
Oops, something went wrong.