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

Move unbalanced braces out of CPP (#1205)

This helps fast-tags parse the containing file
(See https://github.com/elaforge/fast-tags/issues...

59226c85bfcc022fb9cfd14abcf668085b36c310 authored over 5 years ago
Remove Dhall.X and replace with Data.Void (#1172)

* Remove Dhall.X and replace with Data.Void

This commit removes the Dhall.X module and the Dhal...

4a93c255db1f12439ff13eb6cd660fb052d96dda authored over 5 years ago
Update dhall-lang to latest master (#1200)

…to fix build failures due to the submodule pointing at an unreachable commit.

* Disable a cu...

2cf6a1ba74e02a3e16a8060cacba026c66e2ff23 authored over 5 years ago
Add support for dependent types (#1164)

7f2f57f975a614aa5b76607125d3b900b2880f68 authored over 5 years ago
Improve error reporting for failed remote imports (#1188)

Several failed remote import messages didn't include the URL that
the interpreter failed to reso...

3d9a1d2a408881b7b89e33dc6c262083f673b585 authored over 5 years ago
Fix import logic with --file for dhall-to-{json,yaml} (#1191)

Fixes #1183.

1700fa72d8d849e1be0af23498dc86b68c85b8be authored over 5 years ago
Enable `--records-strict` by default for `{json,yaml}-to-dhall` (#1181)

This adds a new `--records-loose` flag and changes the default behavior
to `--records-strict`

T...

3abef4e3f0bb787fe3263349245baf19ad1fdba4 authored over 5 years ago
Optimize a few Set instance (#1184)

f66918d8c858305d5a5d4e9427a977f92d7be6e4 authored over 5 years ago
Fix standard version typo in `CHANGELOG` (#1180)

Fixes https://github.com/dhall-lang/dhall-haskell/issues/1168

15bf9c8e533c3bbe6bca1f3a93cbb002a0cdb24a authored over 5 years ago
Implement Natural/subtract (#1133)

* Implement Natural/truncatedSubtract

* Restore commented out code

* Add pretty printing for N...

1b683295fc74f68a33216ff29431e04cbc635787 authored over 5 years ago
Use ghc-8.6.5 in default stack.yaml and make appveyor use it (#1182)

* Make it no buildable in windows as suggested by @sjakobi

* Use last lts resolver for ghc-8.6....

4d0058b71d29d7de15fa5d75aa57d05e8ecc1e93 authored over 5 years ago
Retire hard-coded version string (#1171)

Queries `Paths_dhall_lsp_server` (generated by cabal) for the up-to-date
version specified in th...

33275f308f718b880a0aec9a60bee7d7f4c4ce2f authored over 5 years ago
Change cabal file so the release script picks up the version (#1166)

b4c8bc2da300bf6bc699da519bcffcd2f342d7b3 authored over 5 years ago
Include dhall-nix in stack and cabal project configs (#1178)

Note that `dhall-nix` cannot be built on Windows due to its transitive
dependency on the `unix`...

42d80b057d560948b33d7194883b46eeaf002681 authored over 5 years ago
More simplifications for field selection (#1174)

…as standardized in https://github.com/dhall-lang/dhall-lang/pull/664.

cb38ba294172fb0a4d5f663c56318ff19bad1b03 authored over 5 years ago
Remove old union literal syntax (#1176)

…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 (#1169)

* Remove most uses of `StandardVersion` from the API

We no longer support multiple versions of ...

a81c75fc5bc3aba479f377e56dff4c4d6c5ad832 authored over 5 years ago
Formatting: Indent applications (#1167)

Fixes #515

22d46103c185489837f501ab46e9ce57f82f55bc authored over 5 years ago
Version 1.24.0 → 1.25.0 (#1156)

d45f3ec46b4b791705de0352f7ce382260845171 authored over 5 years ago
Simplify `dhall version` output to just version string (#1163)

The motivation for this is two-fold:

* To get rid of the standard version from the output

...

3f2c42014fbe43857727e80f5102f741ea9477dc authored over 5 years ago
Change `ImportSemantics` to not necessarily be α-normalized (#1162)

The motivation for this change is to avoid α-normalizing all imported
expressions.

For example,...

7a88cdf4813ecb9d99b671d1c0f40544613ce81e authored over 5 years ago
Fix CSS for `dhall-lang.org` in Safari (#1160)

Fixes https://github.com/dhall-lang/dhall-lang/issues/609

Safari requires a vertical alignmen...

1970aa3ef3ae7bb4bbb360aada8518df3586cbc2 authored over 5 years ago
Fix tests without `with-http` flag (#1159)

* 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 (#1157)

* Fix compilation without `with-http` flag

* Fix compilation with `with-http` flag

5bb84cbd94e193d5bda3ed62f810549ad1778541 authored over 5 years ago
Implement semi-semantic caching (#1154)

* Tag ImportSemantics with their semantic hashes

This is in preparation for semi-semantic cachi...

76a0d4159b72cce6fdf22f41ed25e75f6aa62e42 authored over 5 years ago
Fix `isNormalized` test (#1155)

* Fix `isNormalized` test

The test in question failed intermittently because `isNormalized` is
...

d93c01dfbf156410d184de6ed665820a66d1bb5c authored over 5 years ago
Make regression test #151 test the right thing (#1153)

From dhall/tests/Dhall/Test/Regression.hs:

These two examples contain the following express...

34e6791f25932fc147841c2183c424a4074c3b46 authored over 5 years ago
Fix import alternatives to recover from type errors (#1152)

Previously, `BAD="0 0" dhall <<< "env:BAD ? 0"` resulted in the
following error:
```
↳ env:BA...

36379cec2e10bc067f8a04113d1ba1f673ef44eb authored over 5 years ago
Pretty-print output of `{json,yaml}-to-dhall` (#1150)

This enables syntax highlighting and formatted output for these two
programs

354346be91ca62d64a1d68dcf7897e5a30f8646c authored over 5 years ago
Load imports recursively (#1128)

* Load imports recursively

This is the big change that enables us to implement 'semi-semantic'
...

4faf25bbbeeee1b1eeb37717d769b81f490dfe85 authored over 5 years ago
Add instance Lift (Expr s a) (#1119)

This allows Exprs to be lifted in template-haskell. This is useful to
build a [dhall||] quasiqu...

d55bf8f3a36195898a857fb80745951b3ae947c8 authored over 5 years ago
Specialize Expr's ToTerm instance to (Expr X a) (#1143)

* This simplifies pattern matching during encoding.

c8a0df3748391be08a6a4accb99496fb7d6b1d40 authored over 5 years ago
Enable the fixed potPourri test (#1144)

Context: https://github.com/dhall-lang/dhall-lang/pull/655

88d6671e38832739898a63590e8e8be7bfa7645b authored over 5 years ago
Document that `normalize` is partial (#1140)

* Document that `normalize` is partial

Fixes https://github.com/dhall-lang/dhall-haskell/issues...

0120f2650d4a758fbc73ca391ea82dc1b4fd392a authored over 5 years ago
Forbid invalid codepoints (#1104)

* Forbid invalid codepoints

... as standardized in https://github.com/dhall-lang/dhall-lang/pul...

0c61b0d0486b13a73fe9a9d30f2c1036e2fc41e9 authored over 5 years ago
Implement "Generalize empty list annotations" (#1112)

…as standardized in https://github.com/dhall-lang/dhall-lang/pull/630

Also:

* Update the dhall...

0ee6ce6f6fd2afe9d227fa9d58a3e61fced33c21 authored over 5 years ago
Support `lens-family-core-2.0.0` (#1141)

Related to https://github.com/commercialhaskell/stackage/issues/4725

cbd6a6543ddff520fcc139afa1ee0cea5c4261c4 authored over 5 years ago
Catch errors in normalizeWithM when testing it (#1139)

Context: #1138

8aa8add453f7a5b0bf7cf0b74e4a5ce7c18878c0 authored over 5 years ago
Allow only valid HTTP(S) reg-names (#1124)

Corresponding change to the standard:
https://github.com/dhall-lang/dhall-lang/pull/627

The pot...

482984eb6d3d4b09d68c4dab19d53672ec75847f authored over 5 years ago
Always typecheck the type annotation on 'toMap' (#1132)

Previously, ill-typed expressions like this one got into normalization:

toMap {=} : <>.x

A...

e40e8477301e9965ea6f8571a88933ed81b371f4 authored over 5 years ago
Fix test suite to accept expected decoding failures (#1136)

This will be necessary for https://github.com/dhall-lang/dhall-lang/pull/640

f0d017d7c5f8d820bfd4055cbfcb6bf7fc76408f authored over 5 years ago
Improve error message for missing constructor (#1137)

Fixes https://github.com/dhall-lang/dhall-haskell/issues/1130

a440c6cd28006d39a3e50b83dc950605e9411290 authored over 5 years ago
dhall-lsp-server: Freezing imports (#1123)

* Implement dhall.freezeImport and dhall.freezeAllImports

* Remove old (broken) test suite

* R...

7e9728f0e934637786dfc80fac8128991a3ea35c authored over 5 years ago
dhall-json: Allow empty alternative for Nesting.Inline (#1122)

Fixes #1092.

7dc7856d106679016fd232c52e991bd750612037 authored over 5 years ago
Check normalizeWithM for consistency with normalize (#1126)

* Check normalizeWithM for consistency with normalize

* Implements constant folding of Natural/...

b4f71b2aa2b49c756525237b0a7a66131dcf1220 authored over 5 years ago
Make the tests build with GHC 7.10. (#1134)

0df6362a9d44f3856cd9b4d2af12d25179a31bea authored over 5 years ago
Add `--file` option to `dhall-json` executables (#1107)

* Add `--file` option to `dhall-json` executables

Fixes https://github.com/dhall-lang/dhall-has...

1a27cad1378ccfba269561c1732afc12d5e27f5c authored over 5 years ago
Make isNormalized consistent with normalize (#1115)

To be more precise (citing the haddocks):

Given a well-typed expression e, (isNormalized e)...

40ec83743d54eac76815db4412903306b0fec73c authored over 5 years ago
Preparing `Dhall.Import` for "Semi-semantic" caching (#1113)

* Fix misleading comment

* Add `Chained` type to capture fully chained imports

Until now we us...

d5d0224bc3f219a3b23d84dde0f0477b59369112 authored over 5 years ago
Fix incorrect `Canonicalize` law (#1118)

It is not the case that
canonicalize (a <> b) = canonicalize a <> canonicalize b.
For exampl...

6534ce85edf320f1648e0637cd120b68bb0f94ca authored over 5 years ago
dhall-lsp-server: Turn imports into clickable links (#1121)

* Expose `localToPath` in Dhall.Import

Also modifies `localToPath` to return a relative path if...

33ebf7ee71d61c417da37c9974d51725eaa175ff authored over 5 years ago
toMap normalization: Misc improvements (#1116)

…addressing my own comments on
https://github.com/dhall-lang/dhall-haskell/pull/1041.

e044b4ab6873cf95ae0ca18461960998d64f0f65 authored over 5 years ago
Sort the fields of a record projection during normalization (#1111)

…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 (#1108)

* Move more `dhall-json` test logic into data files

... as suggested @sjakobi in https://github...

81ef51465298d3ca265763cc3b8bad011e42df8c authored over 5 years ago
Implementation of toMap (#1041)

... as standardized in https://github.com/dhall-lang/dhall-lang/pull/610

8aa2ac3ce9b1f6b3822a03c666287792140e29e5 authored over 5 years ago
Build macOS binaries with Travis (#1101)

0506c13822d054bbbb699b1b528ccebd842d5247 authored over 5 years ago
Remove usage of legacy Optional syntax (#1091)

* Remove usage of legacy Optional syntax

* Dhall.JSON: Use multilet in examples

* Update dhall...

b2cbc8227fa895133af95fab80c10d617535245a authored over 5 years ago
Add `dhall-json` support for unions as keys (#1094)

This is inspired by this StackOverflow question:

https://stackoverflow.com/questions/56967374...

e49710166ee50772b184451812222977a114409b authored over 5 years ago
Update web page (#1079)

The main improvements are:

* Add one-line summary of what Dhall is

This is based on user...

e0bd21e25d0ab2445e67d71cf3968d8f0ec8cf62 authored over 5 years ago
Replace `dhall-to-text` with `dhall text` subcommand (#1090)

Fixes #1087

90b62ee9d72651598c87b3026a74d4ece840008f authored over 5 years ago
dhall-lsp-server: Fix cache to correctly invalidate transitive dependencies (#1069)

* 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 (#1083)

* Handle empty alternatives when converting from JSON

Fixes https://github.com/dhall-lang/dhall...

aff138e192ac5414eef3f3ed03083d40f8796b8d authored over 5 years ago
Mergify: Add "merged" condition for "delete_head_branch" action (#1089)

I came accross https://medium.com/mergify/keep-your-repository-clean-delete-your-merged-branches...

5339f1893d332dcc06fe8ea245cf4225d9f2a755 authored over 5 years ago
Reapply "Mergify: Delete head branch after merge (#1064)" (#1086)

This reverts commit 4004d62f286802ebc2679f84031fc4f7e057dbfc.

22428f9e1ffa645f748c6e97e2823fd64f12d7c9 authored over 5 years ago
Fix unexpected decoding successes in tests (#1088)

Fixes https://github.com/dhall-lang/dhall-haskell/issues/1082

All of the successes are due to a...

635a4489d298a2be8aadf621dcdd87aa7a666486 authored over 5 years ago
Don't typecheck the head of a list twice. (#1085)

f1234c4efa065bdc616f0d41777c8b365e5bd910 authored over 5 years ago
Simplify typechecking of Combine and CombineTypes (#1067)

Also add Dhall.Map.outerJoin, inspired by Semialign.align.

e40d0bc624dbc2959352a17de2db5e76addc9839 authored over 5 years ago
Simplify normalization of record projection (#1071)

…via new functions Dhall.Map.{keysSet,restrictKeys} and
Dhall.Set.fromSet.

Also apply these fun...

d7114a32de638d4bb40d56e717347d2ea220441e authored over 5 years ago
Build against `optparse-applicative-0.15` (#1081)

Related to https://github.com/commercialhaskell/stackage/issues/4693

462f82a0f8b450a02ece36581a203af1add28282 authored over 5 years ago
Increase coverage of acceptance tests (#1072)

* dhall:tasty: Unskip a few tests

These remain broken:

- tests/parser/failure/annotation
- tes...

f873b0d66e85746927f8689257778e557f010983 authored over 5 years ago
Fix `dhall-json`'s support for preserving alternative names (#1080)

* Fix `dhall-json`'s support for preserving alternative names

... as caught by @sjakobi in the ...

b8e19d614acbc528339a1f1af1492599d460bb68 authored over 5 years ago
Dhall.Map: Remove the keys list when sorting (#1066)

Also add the unorderedSingleton and unorderedFromList functions.

This speeds up the "issue 412"...

3b4f826eda2fb122418645c8386a306f02d1dae3 authored over 5 years ago
Update to latest `dhall-lang` (#1084)

* Update to latest `dhall-lang`

The main updates are to support the following two changes to th...

c1162076630da5222ce69fa59e99be0da67d19b1 authored over 5 years ago
dhall-lsp-server: Improve type-on-hover behaviour over binders (#1062)

* Improve type-on-hover behaviour over binders

Dhall's parser does not generate `Src` annotatio...

2cd4ed948f2a0fd6e3ecd012a6703845e551b69e authored over 5 years ago
Remove cruft related to the removed 'constructors' keyword (#1077)

76efe630b2bad2a511b47d26dad2507704bf9daf authored over 5 years ago
Dhall.Map.fromList: Fix docs (#1078)

Closes #1052.

9a2e25b92dfa26b93f8bb2293247ae6d6ac520d5 authored over 5 years ago
Dhall.Eval.eqMapsBy: Compare map sizes before contents (#1065)

Data.Map.size is O(1), so we expose it via Dhall.Map.

28fc9e1870bcb472c756dc2e9ab227fbad1245fa authored over 5 years ago
dhall-lsp-server: Normalize types before displaying them to the user (#1060)

* Normalize types before displaying them to the user

Previously, the type displayed when hove...

53e196775473ec8b711c46f60504695a0826cebe authored over 5 years ago
Revert "Mergify: Delete head branch after merge (#1064)" (#1070)

Context: https://github.com/dhall-lang/dhall-haskell/pull/1064#issuecomment-508552667

This re...

4004d62f286802ebc2679f84031fc4f7e057dbfc authored over 5 years ago
Let Mergify handle one PR at a time (#1068)

Docs: https://doc.mergify.io/actions.html#merge

6afbba449d4a63c61bbbc04f9c30188da4205f72 authored over 5 years ago
Mergify: Delete head branch after merge (#1064)

Docs: https://doc.mergify.io/examples.html#deleting-merged-branch

817c833643c37e8fdb71a2efd74bbd7fc895e87d authored over 5 years ago
Skip re-typechecking the first non-empty union alternative (#1057)

For the deep-nested-large-record benchmark, this results in a
speedup of about 0.5–1%.

c7e48bf497795cff7aec5d91bbcd7a2274126ce2 authored over 5 years ago
Simplify Dhall.Parser.Combinators.toMap (#1053)

This changes the parsing error for some cases.

Previously:

⊢ {b=1, a=1, b=1, a=1}

Err...

e061f35c4cec2c1d52332e393d032449c5cb5977 authored over 5 years ago
Enable Mergify support (#1059)

Related to https://github.com/dhall-lang/dhall-haskell/issues/1058

This is an attempt to test...

d559662f50792f7bcee092b8729fe66fcee18f8d authored over 5 years ago
Change `rangeFromDhall` to exclude trailing whitespace (#1046)

This gets rid of the separate `santiseRange` utility function that we
used to exclude trailing ...

3a120d277f62fe83f8d9b35f14e3c93b9a6076cf authored over 5 years ago
Consistently format multi-line strings (#1056)

Fixes #973

The formatter was behaving inconsistently for multi-line strings
depending on whe...

af0e77ce0022166884640f5589961604729cd2de authored over 5 years ago
Dhall.Map: Reflect original key ordering in Ord instance (#1050)

51a020e3e4c81d9cf6e159ec278aa12975132017 authored over 5 years ago
Improve performance of type-checking record literals (#1048)

While benchmarking the example from #769 I saw that a significant
amount of time was spent benc...

f5819dd6d64678a2ba9e107e4419f0572e56aabc authored over 5 years ago
Dhall.Map: Change Foldable and Traversable instances to respect the key ordering (#1051)

0057901e58748e551f53b6c31c059e817a32ff4d authored over 5 years ago
Switch `Var` to use an `Int` (#1044)

Related to: https://github.com/dhall-lang/dhall-haskell/issues/1039

We'll probably never see ...

92bdd56a3426bb912aadc0ab9b8a8effe0ec6714 authored over 5 years ago
dhall-lsp-server: Implement caching (#1040)

* Rewriting Dhall.LSP.Backend.Dhall: Implement new API

The old "backend" consisted of a rando...

41161aa390862117fa2984ff25d19a77e9a05d7e authored over 5 years ago
Fix benchmarks, run them on AppVeyor (#1033)

Since we only want to ensure that the benchmarks continue to
work, we use the following benchma...

15e981f61c60c680b865a4a6121d42611d08524c authored over 5 years ago
Implement importing `as Location` (#1019)

04d82120a415569879bf7faf044c432e76ab6f0e authored over 5 years ago
Speed up Dhall.Map.unorderedTraverseWithKey_ (#1036)

This reduces the runtime of the `deep-nested-large-record` benchmark by about 50%.

Note that ...

7647adba1ad8214468214dc9bd4448b5ffc6d18f authored over 5 years ago
Fix appveyor tests (#1037)

Fixes #1034

Fixes the `import/success/hashFromCache` test on Windows

Disables currently b...

0bf4e41020b78e7fd183b94558dd84f86d1ae0d1 authored over 5 years ago
dhall-json: Use Dhall.Optics instead of lens (#1042)

This removes the following packages from `dhall-json`'s dependencies:

- adjunctions
- call-s...

157c36b8a1de7f63d1c90f90f6fbbd3267ab20f9 authored over 5 years ago
Remove `prettyDiff` internal helper (#1038)

... as suggested by @sjakobi in https://github.com/dhall-lang/dhall-haskell/pull/1027#issuecomme...

bb365dd0f3b9eed96b3f0d0575d4bd1cd729f9b6 authored over 5 years ago
Reject record projection when there is a field type mismatch (#1027)

Fixes https://github.com/dhall-lang/dhall-haskell/issues/1020

This also includes small fixes ...

250fdfc34878a2103c00bc541fc47b4983cb41e6 authored over 5 years ago
Use vertical bars for the left margin of source spans (#1030)

This separates the source from the line numbers using vertical bars
instead of colons. The mai...

09016735fa6fdf27657fa1842f4e7b094e5e4cd6 authored over 5 years ago
Remove the `InvalidField` error constructor (#1026)

Fixes https://github.com/dhall-lang/dhall-haskell/issues/1025

There were two error constructo...

484182b74e39a9eb58b09200283bfb80876f7e89 authored over 5 years ago