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 helps fast-tags parse the containing file
(See https://github.com/elaforge/fast-tags/issues...
* Remove Dhall.X and replace with Data.Void
This commit removes the Dhall.X module and the Dhal...
4a93c255db1f12439ff13eb6cd660fb052d96dda authored over 5 years ago…to fix build failures due to the submodule pointing at an unreachable commit.
* Disable a cu...
2cf6a1ba74e02a3e16a8060cacba026c66e2ff23 authored over 5 years ago7f2f57f975a614aa5b76607125d3b900b2880f68 authored over 5 years ago
Several failed remote import messages didn't include the URL that
the interpreter failed to reso...
Fixes #1183.
1700fa72d8d849e1be0af23498dc86b68c85b8be authored over 5 years ago
This adds a new `--records-loose` flag and changes the default behavior
to `--records-strict`
T...
3abef4e3f0bb787fe3263349245baf19ad1fdba4 authored over 5 years agof66918d8c858305d5a5d4e9427a977f92d7be6e4 authored over 5 years ago
Fixes https://github.com/dhall-lang/dhall-haskell/issues/1168
15bf9c8e533c3bbe6bca1f3a93cbb002a0cdb24a authored over 5 years ago* Implement Natural/truncatedSubtract
* Restore commented out code
* Add pretty printing for N...
1b683295fc74f68a33216ff29431e04cbc635787 authored over 5 years ago* Make it no buildable in windows as suggested by @sjakobi
* Use last lts resolver for ghc-8.6....
4d0058b71d29d7de15fa5d75aa57d05e8ecc1e93 authored over 5 years ago
Queries `Paths_dhall_lsp_server` (generated by cabal) for the up-to-date
version specified in th...
b4c8bc2da300bf6bc699da519bcffcd2f342d7b3 authored over 5 years ago
Note that `dhall-nix` cannot be built on Windows due to its transitive
dependency on the `unix`...
…as standardized in https://github.com/dhall-lang/dhall-lang/pull/664.
cb38ba294172fb0a4d5f663c56318ff19bad1b03 authored over 5 years ago…as standardized in https://github.com/dhall-lang/dhall-lang/pull/573.
Fixes #1175.
beb1e7ba6f250d07e690b61126709406bbe715eb authored over 5 years ago* Remove most uses of `StandardVersion` from the API
We no longer support multiple versions of ...
a81c75fc5bc3aba479f377e56dff4c4d6c5ad832 authored over 5 years agoFixes #515
22d46103c185489837f501ab46e9ce57f82f55bc authored over 5 years agod45f3ec46b4b791705de0352f7ce382260845171 authored over 5 years ago
The motivation for this is two-fold:
* To get rid of the standard version from the output
...
3f2c42014fbe43857727e80f5102f741ea9477dc authored over 5 years ago
The motivation for this change is to avoid α-normalizing all imported
expressions.
For example,...
7a88cdf4813ecb9d99b671d1c0f40544613ce81e authored over 5 years agoFixes https://github.com/dhall-lang/dhall-lang/issues/609
Safari requires a vertical alignmen...
1970aa3ef3ae7bb4bbb360aada8518df3586cbc2 authored over 5 years ago* Allow customization of remote import resolution
Makes the `Status` type more general; previou...
fd8683216d50a114c5421f9bdb64d98ea9b9592f authored over 5 years ago* Fix compilation without `with-http` flag
* Fix compilation with `with-http` flag
5bb84cbd94e193d5bda3ed62f810549ad1778541 authored over 5 years ago* Tag ImportSemantics with their semantic hashes
This is in preparation for semi-semantic cachi...
76a0d4159b72cce6fdf22f41ed25e75f6aa62e42 authored over 5 years ago* Fix `isNormalized` test
The test in question failed intermittently because `isNormalized` is
...
From dhall/tests/Dhall/Test/Regression.hs:
These two examples contain the following express...
34e6791f25932fc147841c2183c424a4074c3b46 authored over 5 years ago
Previously, `BAD="0 0" dhall <<< "env:BAD ? 0"` resulted in the
following error:
```
↳ env:BA...
This enables syntax highlighting and formatted output for these two
programs
* Load imports recursively
This is the big change that enables us to implement 'semi-semantic'
...
This allows Exprs to be lifted in template-haskell. This is useful to
build a [dhall||] quasiqu...
* This simplifies pattern matching during encoding.
c8a0df3748391be08a6a4accb99496fb7d6b1d40 authored over 5 years agoContext: https://github.com/dhall-lang/dhall-lang/pull/655
88d6671e38832739898a63590e8e8be7bfa7645b authored over 5 years ago* Document that `normalize` is partial
Fixes https://github.com/dhall-lang/dhall-haskell/issues...
0120f2650d4a758fbc73ca391ea82dc1b4fd392a authored over 5 years ago* Forbid invalid codepoints
... as standardized in https://github.com/dhall-lang/dhall-lang/pul...
0c61b0d0486b13a73fe9a9d30f2c1036e2fc41e9 authored over 5 years ago…as standardized in https://github.com/dhall-lang/dhall-lang/pull/630
Also:
* Update the dhall...
0ee6ce6f6fd2afe9d227fa9d58a3e61fced33c21 authored over 5 years agoRelated to https://github.com/commercialhaskell/stackage/issues/4725
cbd6a6543ddff520fcc139afa1ee0cea5c4261c4 authored over 5 years agoContext: #1138
8aa8add453f7a5b0bf7cf0b74e4a5ce7c18878c0 authored over 5 years ago
Corresponding change to the standard:
https://github.com/dhall-lang/dhall-lang/pull/627
The pot...
482984eb6d3d4b09d68c4dab19d53672ec75847f authored over 5 years agoPreviously, ill-typed expressions like this one got into normalization:
toMap {=} : <>.x
A...
e40e8477301e9965ea6f8571a88933ed81b371f4 authored over 5 years agoThis will be necessary for https://github.com/dhall-lang/dhall-lang/pull/640
f0d017d7c5f8d820bfd4055cbfcb6bf7fc76408f authored over 5 years agoFixes https://github.com/dhall-lang/dhall-haskell/issues/1130
a440c6cd28006d39a3e50b83dc950605e9411290 authored over 5 years ago* Implement dhall.freezeImport and dhall.freezeAllImports
* Remove old (broken) test suite
* R...
7e9728f0e934637786dfc80fac8128991a3ea35c authored over 5 years agoFixes #1092.
7dc7856d106679016fd232c52e991bd750612037 authored over 5 years ago* Check normalizeWithM for consistency with normalize
* Implements constant folding of Natural/...
b4f71b2aa2b49c756525237b0a7a66131dcf1220 authored over 5 years ago0df6362a9d44f3856cd9b4d2af12d25179a31bea authored over 5 years ago
* Add `--file` option to `dhall-json` executables
Fixes https://github.com/dhall-lang/dhall-has...
1a27cad1378ccfba269561c1732afc12d5e27f5c authored over 5 years agoTo be more precise (citing the haddocks):
Given a well-typed expression e, (isNormalized e)...
40ec83743d54eac76815db4412903306b0fec73c authored over 5 years ago* Fix misleading comment
* Add `Chained` type to capture fully chained imports
Until now we us...
d5d0224bc3f219a3b23d84dde0f0477b59369112 authored over 5 years ago
It is not the case that
canonicalize (a <> b) = canonicalize a <> canonicalize b.
For exampl...
* Expose `localToPath` in Dhall.Import
Also modifies `localToPath` to return a relative path if...
33ebf7ee71d61c417da37c9974d51725eaa175ff authored over 5 years ago
…addressing my own comments on
https://github.com/dhall-lang/dhall-haskell/pull/1041.
…as standardized in https://github.com/dhall-lang/dhall-lang/pull/625.
3856612763a7c97c3a4a92739c08bd25204b038a authored over 5 years ago* Move more `dhall-json` test logic into data files
... as suggested @sjakobi in https://github...
81ef51465298d3ca265763cc3b8bad011e42df8c authored over 5 years ago... as standardized in https://github.com/dhall-lang/dhall-lang/pull/610
8aa2ac3ce9b1f6b3822a03c666287792140e29e5 authored over 5 years ago0506c13822d054bbbb699b1b528ccebd842d5247 authored over 5 years ago
* Remove usage of legacy Optional syntax
* Dhall.JSON: Use multilet in examples
* Update dhall...
b2cbc8227fa895133af95fab80c10d617535245a authored over 5 years agoThis is inspired by this StackOverflow question:
https://stackoverflow.com/questions/56967374...
e49710166ee50772b184451812222977a114409b authored over 5 years agoThe main improvements are:
* Add one-line summary of what Dhall is
This is based on user...
e0bd21e25d0ab2445e67d71cf3968d8f0ec8cf62 authored over 5 years agoFixes #1087
90b62ee9d72651598c87b3026a74d4ece840008f authored over 5 years ago* Move "Dot" import graph generation to Dhall.Main
Previously `Dhall.Import` would generate t...
8ae7b603fefd818d5da0d5fafae1788770b121c4 authored over 5 years ago* Handle empty alternatives when converting from JSON
Fixes https://github.com/dhall-lang/dhall...
aff138e192ac5414eef3f3ed03083d40f8796b8d authored over 5 years agoI came accross https://medium.com/mergify/keep-your-repository-clean-delete-your-merged-branches...
5339f1893d332dcc06fe8ea245cf4225d9f2a755 authored over 5 years agoThis reverts commit 4004d62f286802ebc2679f84031fc4f7e057dbfc.
22428f9e1ffa645f748c6e97e2823fd64f12d7c9 authored over 5 years agoFixes https://github.com/dhall-lang/dhall-haskell/issues/1082
All of the successes are due to a...
635a4489d298a2be8aadf621dcdd87aa7a666486 authored over 5 years agof1234c4efa065bdc616f0d41777c8b365e5bd910 authored over 5 years ago
Also add Dhall.Map.outerJoin, inspired by Semialign.align.
e40d0bc624dbc2959352a17de2db5e76addc9839 authored over 5 years ago
…via new functions Dhall.Map.{keysSet,restrictKeys} and
Dhall.Set.fromSet.
Also apply these fun...
d7114a32de638d4bb40d56e717347d2ea220441e authored over 5 years agoRelated to https://github.com/commercialhaskell/stackage/issues/4693
462f82a0f8b450a02ece36581a203af1add28282 authored over 5 years ago* dhall:tasty: Unskip a few tests
These remain broken:
- tests/parser/failure/annotation
- tes...
* Fix `dhall-json`'s support for preserving alternative names
... as caught by @sjakobi in the ...
b8e19d614acbc528339a1f1af1492599d460bb68 authored over 5 years agoAlso add the unorderedSingleton and unorderedFromList functions.
This speeds up the "issue 412"...
3b4f826eda2fb122418645c8386a306f02d1dae3 authored over 5 years ago* Update to latest `dhall-lang`
The main updates are to support the following two changes to th...
c1162076630da5222ce69fa59e99be0da67d19b1 authored over 5 years ago* Improve type-on-hover behaviour over binders
Dhall's parser does not generate `Src` annotatio...
2cd4ed948f2a0fd6e3ecd012a6703845e551b69e authored over 5 years ago76efe630b2bad2a511b47d26dad2507704bf9daf authored over 5 years ago
Closes #1052.
9a2e25b92dfa26b93f8bb2293247ae6d6ac520d5 authored over 5 years agoData.Map.size is O(1), so we expose it via Dhall.Map.
28fc9e1870bcb472c756dc2e9ab227fbad1245fa authored over 5 years ago* Normalize types before displaying them to the user
Previously, the type displayed when hove...
53e196775473ec8b711c46f60504695a0826cebe authored over 5 years agoContext: https://github.com/dhall-lang/dhall-haskell/pull/1064#issuecomment-508552667
This re...
4004d62f286802ebc2679f84031fc4f7e057dbfc authored over 5 years agoDocs: https://doc.mergify.io/actions.html#merge
6afbba449d4a63c61bbbc04f9c30188da4205f72 authored over 5 years agoDocs: https://doc.mergify.io/examples.html#deleting-merged-branch
817c833643c37e8fdb71a2efd74bbd7fc895e87d authored over 5 years ago
For the deep-nested-large-record benchmark, this results in a
speedup of about 0.5–1%.
This changes the parsing error for some cases.
Previously:
⊢ {b=1, a=1, b=1, a=1}
Err...
e061f35c4cec2c1d52332e393d032449c5cb5977 authored over 5 years agoRelated to https://github.com/dhall-lang/dhall-haskell/issues/1058
This is an attempt to test...
d559662f50792f7bcee092b8729fe66fcee18f8d authored over 5 years ago
This gets rid of the separate `santiseRange` utility function that we
used to exclude trailing ...
Fixes #973
The formatter was behaving inconsistently for multi-line strings
depending on whe...
51a020e3e4c81d9cf6e159ec278aa12975132017 authored over 5 years ago
While benchmarking the example from #769 I saw that a significant
amount of time was spent benc...
0057901e58748e551f53b6c31c059e817a32ff4d authored over 5 years ago
Related to: https://github.com/dhall-lang/dhall-haskell/issues/1039
We'll probably never see ...
92bdd56a3426bb912aadc0ab9b8a8effe0ec6714 authored over 5 years ago* Rewriting Dhall.LSP.Backend.Dhall: Implement new API
The old "backend" consisted of a rando...
41161aa390862117fa2984ff25d19a77e9a05d7e authored over 5 years ago
Since we only want to ensure that the benchmarks continue to
work, we use the following benchma...
04d82120a415569879bf7faf044c432e76ab6f0e authored over 5 years ago
This reduces the runtime of the `deep-nested-large-record` benchmark by about 50%.
Note that ...
7647adba1ad8214468214dc9bd4448b5ffc6d18f authored over 5 years agoFixes #1034
Fixes the `import/success/hashFromCache` test on Windows
Disables currently b...
0bf4e41020b78e7fd183b94558dd84f86d1ae0d1 authored over 5 years agoThis removes the following packages from `dhall-json`'s dependencies:
- adjunctions
- call-s...
... as suggested by @sjakobi in https://github.com/dhall-lang/dhall-haskell/pull/1027#issuecomme...
bb365dd0f3b9eed96b3f0d0575d4bd1cd729f9b6 authored over 5 years agoFixes https://github.com/dhall-lang/dhall-haskell/issues/1020
This also includes small fixes ...
250fdfc34878a2103c00bc541fc47b4983cb41e6 authored over 5 years ago
This separates the source from the line numbers using vertical bars
instead of colons. The mai...
Fixes https://github.com/dhall-lang/dhall-haskell/issues/1025
There were two error constructo...
484182b74e39a9eb58b09200283bfb80876f7e89 authored over 5 years ago