Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/dhall-lang/dhall-haskell
Maintainable configuration files
https://github.com/dhall-lang/dhall-haskell
dc720c33b8910a9ccfaed90bb57140a6cf745223 authored almost 7 years ago
They were being printed as `{=]`
05677806813ad7893851af2f7fcebe1c89e5db5c authored almost 7 years ago
The `layoutSmart` option appears to not behave correctly when specifying an
`Unbounded` number ...
The `dhall` executable was missing the empty line separating the type
from the normalized form ...
This commit introduces dhalli, a fairly minimal Dhall REPL that supports:
* Evalution of Dhal...
7f29209ffd423bdce1bf03ea87003db8637c544a authored almost 7 years agod329f1017bf9b0b94d84afa293191c17b89febad authored almost 7 years ago
a6891fab9c44482d81bbeba23aa89864899d9b6f authored almost 7 years ago
Fixes #253
This protects `typeWith` to reject any custom-context that might trigger a
type-c...
This commit splits out the pretty printing logic from Dhall.Core into its own
module. Dhall.Cor...
be332dabb27ef7ea7f0c9018b3ba709deed3a1c3 authored almost 7 years ago
2254af1379781df2534bc1e33a8e21adf6818856 authored almost 7 years ago
Related to https://github.com/dhall-lang/dhall-lang/issues/87
8e3a215a8b23a9cd5b865019a57df8d540ba6b74 authored almost 7 years agoFixes https://github.com/dhall-lang/dhall-lang/issues/86
This change has two benefits:
* U...
0091b09183599198d8e77c056fb3887354b243d1 authored about 7 years ago... as standardized in https://github.com/dhall-lang/dhall-lang/pull/83
Fixes #250
This al...
c98cb90bd98e62df528a5dbda2bb3bde1bd75ac4 authored about 7 years ago
The existing logic for escaping identifiers was rather ad-hoc and was
incorrectly skipping over...
ff555ed7f0159f97a5ed4cb71d73826b0b896c7b authored about 7 years ago
0e7d620fa8cf334fc3d28263c96d656e3a95575d authored about 7 years ago
Related to #244
This updates Dhall's syntax tree to use an insert-ordered hashmap to store
r...
Related to #244
Now, a multi-line record/union will always format the field values on a new
...
80c43973077feafcaf10e1d249034c222e35c60d authored about 7 years ago
566ba0a760af754c30360c8830c1c67f41e06a16 authored about 7 years ago
Related to https://github.com/fpco/stackage/issues/3238
The immediate motivation of this chan...
5fa4fae85a48b5c5429742b4e6dca733c0b0b4e5 authored about 7 years agoFixes #229
This updates `dhall-format` to use multi-line string literals whenever
pretty-pri...
Fixes #230
The type error for the list now returns the expression for the mismatched
element...
38345892773c7c4bf308575b2ad0f2f8bfd8883f authored about 7 years ago
This ensures that the test file is automatically bundled with the package
8d7441690fb85561c044b330419cc54c85afd869 authored about 7 years agoc24b6a4ad68b0d22805f2a808b0c7ca2a17bd20e authored about 7 years ago
`dhall-format` now supports string interpolation
9afb9e6f6d023950ff1449ef56413e5fc474cc06 authored about 7 years agoText interpolation was not being type-checked, which this change fixes
636ad8c09db7cc75134cddb2c3bd67b529179a9c authored about 7 years agobe60eb01711db030b6ad4285274f8fe4c4cd5292 authored about 7 years ago
... as standardized in https://github.com/dhall-lang/dhall-lang/pull/77
fc48b093ce76d12163701a80383d637cf02317d8 authored about 7 years ago3dd14b60fa2a8da18e32b0fa7d3f33c25ad0b690 authored about 7 years ago
430fc08f45ec1dfb8df3e0ac5a21fc245effde1e authored about 7 years ago
Related to https://github.com/dhall-lang/dhall-lang/issues/3
9f7691653ec3f7b096f54f1004e70feabfde4fdd authored about 7 years agoFixes #216
This changes the internal representation of `TextLit` to be able to
store an inte...
'inputWith' is like 'input', but allows for a custom typing context and
normalizer.
Fixes #213.
2ae05f9dadedefc1c14c71352cba16092a50f556 authored about 7 years agoRelated to https://github.com/dhall-lang/dhall-haskell/issues/217
Two type-checking steps shi...
ef7cc416291caa05b8565dd5c4eb93d035df2317 authored about 7 years agoFixes #209
The `prettyExprD` function would only transition to the `docs` loop if the
outerm...
Allows providing a custom context to 'load', but without requiring a way to
actually read paths...
Related to https://github.com/fpco/stackage/issues/3178
4a865b65b501faee3cab665c8dbea75fbb85583d authored about 7 years agoFixes https://github.com/dhall-lang/dhall-lang/issues/64
As standardized in https://github.co...
09c588dff7b3bf7ea3f8a309ae8b0b3df4c92988 authored about 7 years agoThis is based on the matching change to the standard in:
https://github.com/dhall-lang/dhall-...
acd06c56c45f0071d370400455daf167b0f00291 authored about 7 years ago
This adds `Paths_dhall` to the `Other-modules` section for
`dhall-hash` to match the other exec...
Fixes #163
This provides a new `constructors` keyword which can be used to create a
record o...
As part of formalizing the semantics of Dhall there are a few places
where the type-checker was...
Fixes #156
593434ffbd03ac6fe746a5ce29a79f9653580235 authored about 7 years agoThis allows people to selectively catch that exception
0257e860466249f027bf1266c458239184e613d0 authored about 7 years agoRelated to #162
This forbids imports from `localhost` and `127.0.0.1` URLs from counting as
...
bfa2592568f8a4ec3b1a394358b26eb2512090cb authored about 7 years ago
This overhauls `exprFromPath` (and every function downstream of that) to
speed up imports when ...
10c508391bcff93d4dc5976ab75ae86dcca978e6 authored about 7 years ago
Related to https://github.com/fpco/stackage/issues/3062
bc3424441a4e8f0ed0be18bef9cd9b36baee5e51 authored about 7 years agoShould make it easier to debug complex dhall configurations.
f1c28e65c911a7f7cee922fb87a1a3fd5e9920c5 authored about 7 years ago
On systems with the locale set to non-UTF8 (e.g. `LC_ALL=C`, the default POSIX
locale), handles...
28db97ca91e94441b0de9e9c43c0de84f3c21b9f authored about 7 years ago
0098a90650bc09c574124a809ddd84b6b69d16a6 authored about 7 years ago
Fixes #59
The recent refactor of the Dhall grammar made `List/map` no longer a valid
identif...
The former is better-behaved for Unicode inputs on Windows
3a625d786ffb1d5dc43855c5ebeb6fffa7690d0e authored about 7 years ago
This should build on OSX as well as Linux.
When there is a git tag, the build should create a R...
Fixes #179
This updates the instructions and fixes the spurious reference to
`prettyprinter....
f16502ccb340e260806ff589bff8f9cd7bc2798b authored about 7 years ago
This option causes the executable to format the output, for ease of
reading
This updates the `dhall-format` tutorial example to reflect the improvements
introduced in 8d27...
3181bbc1be42882eb56f3675a79979ab8960fcfd authored over 7 years ago
d8dc1cee26c1370718592b16b158bd68c6b4af74 authored over 7 years ago
1c65901f1c6ad6393babfedad7a908f273dcfe38 authored over 7 years ago
b6ca7d22f087ccc57305af28ef1fe29b2013a3c7 authored over 7 years ago
a0bc3b02da73dc611f13c550ce050fec8af74c12 authored over 7 years ago
`dhall-format` was adding superfluous parentheses when formatting certain
expressions, such as ...
This allows users to compute the hash to use for an import
f27bebac9b31f9ddbed5a94f8ae2f288e511e8a5 authored over 7 years agoRelated to #10
990f2b968b9c71df8b76d7f4743bb02639bec3dc authored over 7 years agoSeems to be pointing at an old location of this repository, I have updated it to point at the cu...
afe810c1bcc38c83028da81f6d16f5b89f2e31bf authored over 7 years ago
This updates the recently added support for integrity checking to hash the
final normalized res...
Related to #162
You can now add `sha256:XXX...XXX` after any import to verify that the import...
70276b82fbe3450a191d72d9104182e937561d99 authored over 7 years agoFixes #164
The parser for single-quoted strings did not match the language standard, which
w...
a86f156338d0675fb0f08baec32b05d03e235472 authored over 7 years ago
d8ba9e626541cfcf58ceb9982f7cba97995021c8 authored over 7 years ago
1028f8611b94fd9088b7afc060352ff721d2bc47 authored over 7 years ago
ebc884226d73dd82c63dc63975508eb8e0c3880c authored over 7 years ago
The purpose of this change is to match this change to the grammar:
https://github.com/dhall-l...
96b4d4c692ff887faaf73a7e07eca4d7c2d22adc authored over 7 years agoFixes #152
This fixes pretty-printed `Text` literals to be valid Dhall code
This also fixe...
6368c9297312dc41a8d0366a1927d7982c342eb9 authored over 7 years ago
This updates the tutorial to mention a convenient link to the latest version of
the Prelude so ...
This updates the parser to match the newly standardized Dhall grammar located
at:
https://gi...
dca0f4ea0f13342eb8b8657721d154f4e6c9db98 authored over 7 years ago* Fix type-checking bug that permits infinite loop
Fixes #151
Dhall is based on a pure typ...
62d3c4a3b2b82045bbe92fea935b4f98b206209b authored over 7 years agob21a3b8c0e6472372b00f8acee4b37557dd3557a authored over 7 years ago
I figured we should start to eat our own dogfood and format the Prelude using
`dhall-format`. ...
Partial fix for #145
Before this change `dhall-format` would get rid of all comments when for...
96e07869bc9d8b36c348142370008b7962a2a02b authored over 7 years ago0e8a4c9b2528385366bb9f5efceeba7236213904 authored over 7 years ago
prettyprinter doesn't match on lts-9.0. You get the following error
with stack:
```
Error: ...
This change modifies the behavior of `Natural/fold` and `List/fold` to
intelligently switch bet...
This improves the output when pretty-printing nested `if`/`then`/`else`
expressions
Before t...
0c5feafcc646043917b59361feba438d74f36f6c authored over 7 years ago
Printing nested `if`/`then`/`else` expressions would result in unnecessary
parentheses, like th...
Fixes #139
f2b4d902b94bc315d588ef9c254b9d9150d15600 authored over 7 years ago6bd241317f8d338af2bf3890c9347f5f96f0d39f authored over 7 years ago
c569111272738094003c92e099c370d8f87708f2 authored over 7 years ago
9ba5de49cd5fb84e33fa1153f202ae4a1e0b9b0d authored over 7 years ago
Fixes https://github.com/dhall-lang/dhall-lang/issues/8
This takes a Dhall expression on stan...
5f7d46b17922651d0fce76ca0fa1f2c8fb30bf79 authored over 7 years agoDhall requires that a `let` expression of the form:
```haskell
let x : t = e1 in e2
```
...
8a4e744fb72973b3f98fd8ddbc3d5b68a2a4678d authored over 7 years ago* Fix unbound variable bug
Related to #10
When type-checking the following expression:
...
6bbff5172be829cb688ea9930fd932c9b60666b6 authored over 7 years ago
This simplifies the `shell.nix` to reuse the `dhall` derivation from
`release.nix` and also ens...