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
This modifies the example headers to replace `env:GITHUB_TOKEN` with
`env:GITHUB_TOKEN as Text`...
`Natural/fold` takes a `Natural` value, not an `Integer` value, as its first argument.
3445ff821654c0884649b8a1a1317e80f4f34ea9 authored over 7 years ago* Fix parsing error
When I recently left-factored the grammar I introduced a parsing error
w...
Fixes #125
Before this change, the parser for union literals required the selected
alternati...
Fixes #122
This explains how you can use unions to store alternatives with 0 values
or more ...
* Left factor several parsers
This eliminates or narrows the scope of a large number of `try`...
267093f8cddf1c2f909f2d997c31fd0a7cb2440a authored over 7 years agoFixes #126
This means that:
```haskell
''
foo
bar
''
```
... will now be treat...
1761222aa7f0399c59b896fa6124e29d514ef40a authored over 7 years agoOnly empty lists need annotation in newer versions of dhall.
8b8ba37b986300cbfad8490dc8a9c4fb33209582 authored over 7 years ago
This consolidates `noted` calls wherever possible, mainly to make it
easier to left-factor the ...
This left-factors the parser for union literals to remove an unnecessary
`try`. This in turn i...
8081a14d415fd8ce91b85c890766bb1ee60f1c55 authored over 7 years ago
1c319aab3f176c267385adb4a5801c691a753eb7 authored over 7 years ago
85693d635d39b1e94210a84944792e5924e5c3ab authored over 7 years ago
ee6bb3d7c13af8a94ed2ef53c0dc3ffcccdbf340 authored over 7 years ago
Fixes #117
I broke comment parsing in 52d097eba3ffb820ce7e86d0fe2655437ef0915c due to
accid...
d0f5b9aac2ffec83a52e2e1f0d8cf3b9515401e5 authored over 7 years ago
This updates the Prelude to include the newly added `List/concatMap` introduced
in 2f6a32d74e00...
This change signals that we don't intend to build against versions of
`ghc` earlier than `ghc-8...
9e0ab9a755831d352db4e4e8941c084b076ef784 authored over 7 years ago
a03de76a415e2c11123917dbb3b5766781fac587 authored over 7 years ago
The `doubleSingleQuoteLiteral` parser doesn't need `token` to parse
trailing whitespace because...
486a4816f4d976794b4fef9af68dc1ada85b8aea authored over 7 years ago
The implementation of `token` for `Parser` is identical to the one for
`Text.Trifecta.Parser`, ...
This removes the need for `R2`
5b1cbb08af1c7cf85d01873e8c6ebb99ac9c3df1 authored over 7 years ago
The main motivation for this change is to take advantage of new features in
GHC 8. Dropping su...
Maps unnamed data fields to the positional record keys. For example:
```haskell
data Foo = F...
Fixes #104
2f6a32d74e004ec9b070f72da7f088ef01c04f34 authored over 7 years ago
This slightly modifies the documentation of `R2` to further clarify its
relationship to 2-tuples
Add `Interpret`/`Inject` instances for `[]`
fead467ba0875cee38f232e610eb61ae6cbdf9e9 authored over 7 years ago27264a0ba4c2f0c716c0ec4d20cdb2f0a0d43c02 authored over 7 years ago
Uses R2 intermediate type to represent tuples in Dhall.
fa51d5e40ed660372cd6458f77d734d234d260d9 authored over 7 years ago2a186dcabb205b19f81097ff1e8ccbb4ee5689f7 authored over 7 years ago
Note: This is a breaking change because this changes the type of `loadWith`
4e881450a04da485bca28053250e78f10455e55e authored over 7 years agoFixes #96
The following Dhall expression would fail with a parsing error:
```haskell
"foo'bar"...
It is convenient to check equality of Expr Src X sometimes.
c412662ff3826127ee17092e467aa55db07b5c7d authored over 7 years ago3b357aa806ac78d9832f510cc65d28c1a0963b4d authored over 7 years ago
6947b05a9c50b1e55cf6f9ece0b35d20807f7d2c authored over 7 years ago
333fc1d0007c31446335ef51df33e8239fb77fb1 authored over 7 years ago
03dc6106138a3535d24e323d2bd7dafca468326d authored over 7 years ago
2c1438637ae5873a5fbfb81b757f8fd49b78a9d8 authored over 7 years ago
12ad893605d0d890d148e104da30635d9d2ef38b authored over 7 years ago
This replaces all uses of `NeatInterpolation` with either multi-line
strings or `unlines`. This...
85f63f548ff2c359d1d945ca5be9adea41868d23 authored over 7 years ago
fae32324803678798aae88c7e4eb19a992104a5b authored over 7 years ago
This reverts commit 8c340c12ddfd78e9dbfbd16013c00799a8f19895.
The reason for reverting this cha...
de80063698b18a5ce8db70b430a1494631397466 authored over 7 years agob350b06436a6b1bbed8673814f5222919c37316d authored over 7 years ago
133fe11e2f92b6b8e67b413cc1d4cbb6f13d2a00 authored over 7 years ago
b59228bd9523ac59033f339188f09731461058d6 authored over 7 years ago
Adds trivial comments on extend, extract functions.
Fixes https://github.com/Gabriel439/Haske...
0221dd4432c64b0993fdcd19bfb6b83fd353b3a8 authored over 7 years ago8c340c12ddfd78e9dbfbd16013c00799a8f19895 authored over 7 years ago
Added `normalizeWith` function to complement `typeWith`.
Dhall is so very attractive base for s...
This allows loading dhall 'modules' using a custom typing
context. See #83
Added a function that allows doing `input` from a closed
Dhall `Expr` instead of text. This is ...
7a0c03df573bc8a3e7edd6a001e2b497b8e5ba80 authored over 7 years ago
40478ccb89f3cfd7e2133e889f241bb048bb5369 authored over 7 years ago
24af9b03bee6f2ff7438cb3ac8b5b40265c91796 authored over 7 years ago
907f4765f96172efab56c8003c6ffa120a50c956 authored over 7 years ago
afb645faa5126e5663fbf471eb5f0b9b575d0a45 authored over 7 years ago
This fixes build failures in Dhall package archives downloaded from
Hackage
51f05ca422981f849210b4a79c3c41061f9cf64d authored over 7 years ago
This fixes a test failure for builds from Hackage due to the module not
being included in the pa...
a744bd0b6b2a9d1ea37e9eaeac9068e53220063f authored over 7 years ago
This rearranges each detailed error message so that the summary of relevant
Dhall expressions g...
0873c6efc6a214db4cccb18bd64e7789b93f66c6 authored over 7 years ago
This adds several new list-like utilities, such as `any`/`null`/`length`
2d7fe03ae09f5ddf36eee33d861b06eeb7ef776b authored over 7 years ago2b8b89e41a82e4b4dc35908ff16e5f05fba57e56 authored over 7 years ago
000fb8ebc4e078ddc1072d4d2fcd8c73dbdf9526 authored over 7 years ago
33b4fcec7810f15583faa3d53cc22c17990a10da authored over 7 years ago
This uses Nix's naming convention for consistency
5afee3786806aa8f6734a0ec846a01263cb81d73 authored over 7 years ago
Users can now supply additional headers for URL imports using the new `using`
keyword, like thi...
b5d54860a4abe3d818a0097dea1d47d9a646ae13 authored over 7 years ago
Before this change, if you saved the following files:
```bash
$ echo "~/bar" > /tmp/foo
$ e...
Interspersing a separator in between string elements is sufficiently
tricky that there should b...
You can now omit the type annotation on `merge`s so long as the union
being merged has at least...
trifecta-1.7 is the first version of trifecta
that builds with GHC 8.2 and Cabal 2.0
Nix actually uses two single quotes to escape `${` instead of one single quote
8e223b1d6174427a9c94ac7891e2009eb26a212d authored over 7 years ago
This changes the generated code for `(∧)` to prefer the right attribute
if both arguments share ...
You can now interpolate any expression of type `Text` into a string literal,
like this:
```h...
c15eebf9352cc064ed67fa1373773515fea3a964 authored over 7 years ago00861cc18270a11bbafaca429a1623988679b6c7 authored over 7 years ago
878eed3a656d3a63e47a521dcdbf51b15a808768 authored over 7 years ago
c12ff1cb6761f5fa9c540c499ac7396537b6ff6a authored over 7 years ago
e06791c6c1ea96b68e515b0bf2f364c030bcb446 authored over 7 years ago
I've uploaded the latest Prelude to IPFS and updated the tutorial to reflect
the changes (mostl...
This reduces the number of situations where users have to end a path
with a space
This adds new builtins to the Prelude and also adds corresponding tests
cd9c3f97e034262d50c73ee3d75dc4163457cbc9 authored over 7 years ago
This adds tests that match the examples in the Prelude documentation and
also fixes a couple of...
* Implement Integer/show
Relates to #49
* Implement Double/show
Relates to #49
05e7fff07fe9ecea11a42837ce86fda76de5e755 authored over 7 years ago* Implement Natural/show
* Rename exprFXX variables to reflect the meaning
6a6cc6e41a2fed29aad420719eeb8175f7b99bcc authored over 7 years ago
The previous tests for `build . fold` fusion for `Optional` values would
succeed even without f...
* Move test utils into separate module and use custom assertions
* Implement Natural/toIntege...
a40cd7cb75e093a2542396b5667a125a1c4ace76 authored over 7 years ago
This change updates the test to test Dhall source code so that we're
exercising the system from...
6c5cacd7a24b4a155e834ba71fd7eb960ce09d6e authored over 7 years ago
You can now escape an field or variable name using backticks, like this:
```haskell
let ...
- Defines a new primitive `OptionalFold`
- Implements normalization:
- inlining of Optional/...
Part of #31, requested by @scott-fleischman
You can now use `-` in identifier names for all but...
aeb7d165251a0612538e0ca8f84d60b5aaac6c8d authored almost 8 years agof6b86942ecc3375f6e8577c841a845953fcdc403 authored almost 8 years ago
4b8d8438ea2c2705401c053875b594abe77ba31b authored almost 8 years ago
ca40559cdcd242070d0b2d6832275267160b06a1 authored almost 8 years ago
Useful to see which version of `dhall` you are currently using.
b99648999a7c446bb4c6f2c1fda96e3a25940008 authored almost 8 years ago
The original reason for permitting `(` and `)` in paths was due to
Dhall's origins as a fork of ...